← Back to plugin index

Script Secret

Description
Configures a secret that can be passed to an IAM script.

Reference this secret in the script by calling the API method iam.secrets:get(identifier) with the here configured identifier.

Type name
ScriptSecret
Class
com.airlock.iam.scriptable.application.configuration.ScriptSecretConfig
May be used by
Properties
Identifier (identifier)
Description
A unique identifier that can be used in the IAM script to reference this secret.

Must only contain alphanumeric characters and underscores.

Attributes
String
Mandatory
Length <= 40
Validation RegEx: [a-zA-Z0-9_]+
Secret (secret)
Description
Contains the secret that should be passed to the IAM script.

Secrets are always passed in plaintext to the IAM script even if referenced here by external storage ID.

Attributes
String
Mandatory
Sensitive
YAML Template (with default values)

type: ScriptSecret
id: ScriptSecret-xxxxxx
displayName: 
comment: 
properties:
  identifier:
  secret: