Secrets

Secrets are Alooma’s method for storing environment variables.

Secrets.__init__(api)

Manages secrets in Alooma. Secrets are Alooma’s way of using Environment variables.

Parameters:api – The Alooma API client authentication

Set Secrets

Secrets.set_secrets(secrets_dict)

Sets the secrets in Alooma.

Parameters:secrets_dict – A dictionary with the secrets as k, v pairs. ex: {“my_user”: “example”, “my_password”: “12345678”}
Returns:None

Get Secrets

Secrets.get_secrets()

Gets the list of secrets and prints the list.

Returns:None

Delete Secrets

Secrets.delete_secrets(secret)

Deletes a secret from Alooma.

Parameters:secret – The name of the secret to delete. ex: {“my_user”: “example”, “my_password”: “12345678”} Set to my_user to delete that secret.
Returns:None