Socket
Socket
Sign inDemoInstall

@amazon-codecatalyst/blueprint-component.secrets

Package Overview
Dependencies
75
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @amazon-codecatalyst/blueprint-component.secrets

This is a representation of a codecatalyst secret.


Version published
Maintainers
3
Created

Readme

Source
import { Secret, SecretDefinition } from '@amazon-codecatalyst/blueprint-component.secrets'

Secrets Component

Secrets are used to store sensitive data that can be referenced in workflows. With CodeCatalyst, you can protect these values by adding a secret to your project, and then referencing the secret in your workflow definition file.

Example: Creating a secret

export interface Options extends ParentOptions {
    ...
    mySecret: SecretDefinition;
}


export class Blueprint extends ParentBlueprint {
  constructor(options_: Options) {
    new Secret(this, options.secret);
}

The minimal required default shape looks like:

{
    ...
    "secret": {
        "name": "secretName"
    },

}

The UI component will prompt the user to enter in a secret value and optional description.

For more info on using Secrets in CodeCatalyst, See Working with secrets.

FAQs

Last updated on 07 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc