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 Configuration & Secrets UI on the Bixby Developer Center.
var secret = require('secret')
import secret from 'secret'
The following sections describe the available methods within this module. Each section includes a table that lists the parameters for that method, as well as the parameter's type and description.
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 null
if no property value is set
Access: Public
Parameter | Type | Description |
---|---|---|
property | String | The property key |
Copyright 2024 Samsung All rights reserved