Secrets
8 posts tagged with "Secrets"
create-key
The create-key action creates a randon offical encrpytion key - 32 characters long. It belongs to the secrets category within the system area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = create-key
Valid sizes
Examples
// Basic Usage
create-key
decode-secret
The decode-secret action test function to decode a secret. It belongs to the secrets category within the system area.
Action Syntax
decode-secret "text" with $variable
Return Value
This function returns a
$result = decode-secret
Valid sizes
Examples
// Basic Usage
$text = decode-secret "SECRETNAME" with $key
decrypt
The decrypt action general decryption. It belongs to the secrets category within the system area.
Action Syntax
decrypt "text"
decrypt $variable
decrypt "text" with $variable
decrypt $variable with $variable
Return Value
This function returns a
encrypt
The encrypt action encrypts data. It belongs to the secrets category within the system area.
Action Syntax
encrypt "text"
encrypt $variable
encrypt "text" with $variable
encrypt $variable with $variable
Return Value
This function returns a
list-secrets
The list-secrets action lists all secrets for the current app. It belongs to the secrets category within the system area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = list-secrets
Valid sizes
Examples
// Basic Usage
list-secrets
remove-secret
The remove-secret action removes a secret for an app. It belongs to the secrets category within the system area.
Action Syntax
remove-secret 123
remove-secret $variable
Return Value
This function returns a
$result = remove-secret
Valid sizes
Examples
// Basic Usage
$item = remove-secret 12
secret
The secret action define secret value. It belongs to the secrets category within the system area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
Examples
// Basic Usage
secret
set-secret
The set-secret action sets a secret key for the current app. It belongs to the secrets category within the system area.
Action Syntax
set-secret $variable "text"
Valid sizes
Examples
// Basic Usage
set-secret $openapikey "ffff"