Skip to main contentManaging a data ecosystem involves putting extra effort to manage sensitive data. Nekt provides Secrets as a resource to help you with that.
What are Secrets and why would you use them?
You can create secrets to encapsulate sensitive keys like API keys or credentials in your workspace. It means that wherever you need to use a key, you can use the secret name instead.
There are many scenarios where this can be helpful, but to name a few:
- key rotation process without the need of updating code
- avoid sharing keys through messages
- avoid exposing keys in screen records
How to use them?
When creating your code, load a secret value from your organization’s secrets vault using the .load_secret() method. Read more about it here
You can also create a token and include Secrets in it with other tables. Then when you share the token with someone creating a transformation, they will have access to everything they need.
Let us know if you have any questions!