copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2024-10-17 |
Secrets Manager developer tools, integrate with application, API, SDK, CLI |
secrets-manager |
{:codeblock: .codeblock} {:screen: .screen} {:download: .download} {:external: target="_blank" .external} {:faq: data-hd-content-type='faq'} {:gif: data-image-type='gif'} {:important: .important} {:note: .note} {:pre: .pre} {:tip: .tip} {:preview: .preview} {:deprecated: .deprecated} {:beta: .beta} {:term: .term} {:shortdesc: .shortdesc} {:script: data-hd-video='script'} {:support: data-reuse='support'} {:table: .aria-labeledby="caption"} {:troubleshoot: data-hd-content-type='troubleshoot'} {:help: data-hd-content-type='help'} {:tsCauses: .tsCauses} {:tsResolve: .tsResolve} {:tsSymptoms: .tsSymptoms} {:video: .video} {:step: data-tutorial-type='step'} {:tutorial: data-hd-content-type='tutorial'} {:api: .ph data-hd-interface='api'} {:cli: .ph data-hd-interface='cli'} {:ui: .ph data-hd-interface='ui'} {:terraform: .ph data-hd-interface="terraform"} {:curl: .ph data-hd-programlang='curl'} {:java: .ph data-hd-programlang='java'} {:ruby: .ph data-hd-programlang='ruby'} {:c#: .ph data-hd-programlang='c#'} {:objectc: .ph data-hd-programlang='Objective C'} {:python: .ph data-hd-programlang='python'} {:javascript: .ph data-hd-programlang='javascript'} {:php: .ph data-hd-programlang='PHP'} {:swift: .ph data-hd-programlang='swift'} {:curl: .ph data-hd-programlang='curl'} {:dotnet-standard: .ph data-hd-programlang='dotnet-standard'} {:go: .ph data-hd-programlang='go'} {:unity: .ph data-hd-programlang='unity'} {:release-note: data-hd-content-type='release-note'}
{: #integrate-with-apps}
Ready to integrate {{site.data.keyword.secrets-manager_full}} into your existing apps or services? Take advantage of our supported developer tools. {: shortdesc}
{: #dev-tool-list}
{: #dev-tool-sdks}
{{site.data.keyword.secrets-manager_short}} offers software development kits (SDKs) that you can use to connect with the service in various programming languages. For more information about getting started with {{site.data.keyword.secrets-manager_short}} SDKs, check out the following repositories on GitHub:
- Go SDK{: external}
- Node.js SDK{: external}
- Java SDK{: external}
- Python SDK{: external}
{: #dev-tool-cli}
If you're already using the {{site.data.keyword.cloud_notm}} Command Line Interface (CLI), you can install the {{site.data.keyword.secrets-manager_short}} plug-in so that you can manage secrets in your instance from the command line. For example, after you add secrets to your service instance, you can run the following CLI command to obtain a list of secrets:
ibmcloud secrets-manager secrets
{: pre}
To install the {{site.data.keyword.secrets-manager_short}} CLI plug-in, run ibmcloud plugin install secrets-manager
. For more information, check out the {{site.data.keyword.secrets-manager_short}} CLI reference.
{: note}
{: #dev-tool-api}
If you're trying out {{site.data.keyword.secrets-manager_short}} for the first time, you might want to use the {{site.data.keyword.secrets-manager_short}} API to evaluate the service and test out workflows for your applications. Start by copying the service endpoint URL from the Endpoints page in your {{site.data.keyword.secrets-manager_short}} service dashboard. Then, generate an {{site.data.keyword.cloud_notm}} Identity and Access Management (IAM) token to include in your request. For example, after you store secrets in your service instance, the following API request can be used to obtain your list of secrets:
curl -X GET \
-H "Authorization: Bearer {access_token}" \
-H "Accept: application/json"
"{base_url}/api/v2/secrets"
{: codeblock}
Replace {base_url}
with your service endpoint URL, and {access_token}
with your IAM token. To run the API request, you can paste it into your command line or preferred API testing tool.
For more information about using {{site.data.keyword.secrets-manager_short}} APIs, check out the {{site.data.keyword.secrets-manager_short}} API reference. {: note}
{: #dev-tool-vault}
Already using HashiCorp Vault? You can interact with your {{site.data.keyword.secrets-manager_short}} service instance by using the Vault HTTP API or CLI format.
{{site.data.keyword.secrets-manager_short}} doesn't support all components that are available for Vault. Instead, the service builds on a custom version of open source Vault to support operations in {{site.data.keyword.secrets-manager_short}} for various secret types. {: note}
For more information, check out the following resources: