Stay organized with collections Save and categorize content based on your preferences.
With Cloud Code's Secret Manager integration, you can create, view, update, and use secrets within your IDE and without having them in your codebase.
This page describes how to access Secret Manager within your IDE and how you can get started creating and managing secrets.
Enabling Secret ManagerWhen managing secrets with Cloud Code, secrets are securely stored in Secret Manager and can be programmatically fetched when you need them. All you need is the Secret Manager API enabled and the right permissions to manage secrets:
To launch Secret Manager, click on the Secret Manager tab in the right Cloud Code sidebar.
If you haven't enabled the Secret Manager API, Cloud Code prompts you to enable it within the Secret Manager panel by clicking Enable API.
Your secret also needs to be in the same project as your application code; ensure you have the right project selected or switch using the project selector in the Secret Manager panel.
You can create a secret with one of the following methods:
Using the Secret Manager panelNavigate to the Secret Manager panel.
Click the Add icon.
This launches a Create Secret dialog where you can set your secret's project, name, and value, as well as choose a region to store your secret and labels to organize your secrets.
Highlight and right-click this text.
From the menu, select the Create Secret in Secret Manager...
menu item. This opens the Create Secret dialog with the secret value filled in with the highlighted text. You can customize the secret's project, name, value, region, and labels here.
Create Secret in Secret Manager...
menu item. This opens the Create Secret dialog. Choose your secret's project, name, value, region, and labels here, and click OK when done.If you have an existing secret and would like to update it, you can do so by navigating to the Versions tab of the Secret Manager panel:
Click the Add icon within the Versions tab.
This launches a Add new version dialog where you can set the value of your existing secret either using the Secret value field or by importing a file.
If you'd prefer to remove all previous versions of your secret and keep just the new version being created, choose Disable all past versions.
Once you click OK and your version is added, you can see your latest secret version, and if applicable, all the versions of your secret listed under the Versions tab.
To view secrets, within the Secret Manager panel, select a secret from the list displayed in the Secret Name section. Its details such as name, replication policy, creation timestamp, and resource ID are listed in the Overview tab.
You can also right-click the secret and choose Open in Cloud console to view and manage the secret in your browser.
Viewing secret versionsTo view versions of a secret, select a secret from the list displayed in the Secret Name section and select the Versions tab.
Right-click the secret version you'd like to take action on and choose from the available options; viewing the secret value, copying the version ID, enabling or disabling the version, and destroying the selected version.
Accessing secrets from your applicationOnce your secret is created, you can include it in your code and set up authentication.
To access your newly created secret from your application, follow these steps:
Install the Secret Manager client library.
Navigate to Tools > Cloud Code > Add Cloud Libraries and Manage Cloud APIs and select Secret Manager > Secret Manager API from the Google Cloud APIs explorer tree. Follow the language-specific instructions laid out in the Install Client Library section.
Customize and include the relevant code snippet in your application's code.
Finally, to complete your authentication setup, you need to follow the Client libraries authentication guide:
To submit feedback or report an issue in your IntelliJ IDE, go to
Tools>
Cloud Code>
Help / About>
Submit feedback or report an issueto report an issue on
GitHub.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["Cloud Code's Secret Manager integration allows you to manage secrets directly within your IDE without storing them in your codebase."],["You can create secrets using the Secret Manager panel, the editor, or the project explorer, specifying project, name, value, region, and labels."],["Existing secrets can be updated by creating new versions in the Versions tab, where you can choose to disable all previous versions."],["Secrets and their versions can be viewed within the Secret Manager panel, with options to view details, open in the Cloud console, or take actions on specific versions."],["To access secrets in your application, install the Secret Manager client library and follow the appropriate authentication setup for local or remote development."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4