About Secrets on Nife

Nife allow you to securely store and retrieve sensitive information like passwords or API tokens.

Secrets#

Secrets allow you to securely store and retrieve sensitive information like passwords or API tokens. With Secrets you can securely store hardcoded credentials and pass them as environment variables to your applications.

Secrets provides re-usability across applications.

All Secret values are automatically encrypted server-side.

Create a Secret#

A Secret consists of a name and a value.

Name: The name of a Secret must comply with RFC1123, the DNS naming convention, and can only contain lowercase letters, numbers and dashes. Value: Password or Secret Information that needs to be stored

Secrets can be managed from Nifetency, click Settings->Secrets located in the Left Side Bar.

Using Secrets#

Secrets can be used within services:

Pull Images from Private Repositories#

You can pull Docker Images from Private Repositories and Deploy on Nife To pull Docker Images, refer to Private Container Registry Secrets.

Environment Variables#

You can use environment variables across your services To provide environment variables to your services, refer to Using environment variables and secrets.

Manage Secrets#

You can Easily Mange, Edit and Delete the Secrets from Dashboard and CLI

Make sure no production service is using your secret before deleting it as this might generate production failures or outages especially in re-deployemnts and moving applications

Note: Deleting a Secret is permanent and irreversible. When you delete a Secret, all resources using it will lose access to its value.