Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amazon-codecatalyst/blueprint-component.secrets

Package Overview
Dependencies
Maintainers
0
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amazon-codecatalyst/blueprint-component.secrets

This is a representation of a codecatalyst secret.

  • 0.3.154
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
48
decreased by-65.96%
Maintainers
0
Weekly downloads
 
Created
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

Package last updated on 01 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc