--- title: REST API endpoints for Codespaces user secrets allowTitleToDifferFromFilename: true shortTitle: User secrets intro: Use the REST API manage secrets that the user has access to in a codespace. versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 fpt: '*' ghec: '*' topics: - API autogenerated: rest --- ## About {% data variables.product.prodname_codespaces %} user secrets You can create, list, and delete secrets (such as access tokens for cloud services) as well as assign secrets to repositories that the user has access to. These secrets are made available to the codespace at runtime. For more information, see [AUTOTITLE](/codespaces/managing-your-codespaces/managing-your-account-specific-secrets-for-github-codespaces).