--- title: Codespaces user secrets allowTitleToDifferFromFilename: true shortTitle: User secrets intro: 'The Codespaces user secrets API allows a user to 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 in a codespace.' versions: fpt: '*' ghec: '*' topics: - API miniTocMaxHeadingLevel: 3 --- ## About the Codespaces user secrets API The Codespaces user secrets API allows a user to 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 "[Managing encrypted secrets for your codespaces](/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces)."