Codespaces: change 'encrypted secrets' to 'secrets' (#41416)
This commit is contained in:
@@ -126,7 +126,7 @@ If you enter a value for a recommended secret, the secret will available in the
|
||||
|
||||
If the name of a secret is shown with a checkbox that is unavailable for selection, and no input box, this is because you already have a secret of this name configured in your personal settings for {% data variables.product.prodname_codespaces %}, and you have associated it with this repository. If you've created a secret of this name but have not associated it with this repository, the checkbox will be available to select and by doing so you can update your settings to add the association.
|
||||
|
||||
If you want to change the value of a preselected secret you can do so from your personal settings for {% data variables.product.prodname_codespaces %} at [github.com/settings/codespaces](https://github.com/settings/codespaces). For more information, see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces)."
|
||||
If you want to change the value of a preselected secret you can do so from your personal settings for {% data variables.product.prodname_codespaces %} at [github.com/settings/codespaces](https://github.com/settings/codespaces). For more information, see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-secrets-for-your-codespaces)."
|
||||
|
||||
{% endwebui %}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ When a codespace is published, you have access to a greater range of options to
|
||||
|
||||
- Change the machine type of your codespace to make sure you're using resources appropriate for the work you're doing (see "[AUTOTITLE](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace)").
|
||||
- Allow {% data variables.product.prodname_dotcom %} to automatically use GPG to sign commits you make in your codespace (see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-gpg-verification-for-github-codespaces)").
|
||||
- Share encrypted secrets with your codespace (see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces)").
|
||||
- Share secrets with your codespace (see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-secrets-for-your-codespaces)").
|
||||
|
||||
### Publishing from {% data variables.product.prodname_dotcom_the_website %}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ There are three ways that you can set persistent custom environment variables fo
|
||||
|
||||
- You can edit the `devcontainer.json` configuration file for the repository
|
||||
- You can use a custom Dockerfile
|
||||
- You can use encrypted secrets
|
||||
- You can use secrets
|
||||
|
||||
#### Edit the `devcontainer.json` configuration file for the repository
|
||||
|
||||
@@ -44,7 +44,7 @@ Edit the `devcontainer.json` configuration file for the repository, and use the
|
||||
}
|
||||
```
|
||||
|
||||
Only use this method for values that you are happy to commit to your repository as plaintext. For sensitive values such as access tokens, use encrypted secrets.
|
||||
Only use this method for values that you are happy to commit to your repository as plaintext. For sensitive values such as access tokens, use secrets.
|
||||
|
||||
The environment variable will be set within your editor's remote server process, and will be available for sub-processes of that remote server process, such as terminals and debugging sessions. However, the variable will not be available more broadly inside the container. This method is useful if you don't need the environment variable to be set for other background processes that run at startup, and if you are using a premade image and don't have or want a custom Dockerfile.
|
||||
|
||||
@@ -58,9 +58,9 @@ This method is useful if you already have a Dockerfile and want to set a variabl
|
||||
|
||||
This setting will take effect when you rebuild your container or create a new codespace after pushing this change to the repository. For more information about applying configuration changes to a codespace, see "[AUTOTITLE](/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers)."
|
||||
|
||||
#### Use encrypted secrets
|
||||
#### Use secrets
|
||||
|
||||
You can use encrypted secrets for {% data variables.product.prodname_github_codespaces %} to set custom variables for codespaces created for the repository. For more information, see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces)."
|
||||
You can use secrets for {% data variables.product.prodname_github_codespaces %} to set custom variables for codespaces created for the repository. For more information, see "[AUTOTITLE](/codespaces/managing-your-codespaces/managing-secrets-for-your-codespaces)."
|
||||
|
||||
You should use this method for environment variable values that you do not want to commit to the repository as plaintext.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user