Bixby Developer Center

References

secret

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.

  • Importing with JavaScript Runtime Version 1:
    var secret = require('secret')
  • Importing with JavaScript Runtime Version 2:
    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.

secret.get(property)

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

ParameterTypeDescription
propertyStringThe property key