Provides access to a capsule's secrets store, which is used for API keys, passwords, and other sensitive information. These values are defined in the Config & Secrets UI on the Bixby Developer Center.
var secret = require('secret');
Look up a property value in the capsule's secrets store
Kind: Static method of secret
Returns: String
- The value of the property in the secrets store, or undefined if no property value is set
Access: Public
Parameter | Type | Description |
---|---|---|
property | String | The property key |