Gets a secret.
Documentation pages that include this code sample
To view the code sample used in context, see the following documentation:
Code sample
C#
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.
Go
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.
Java
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.
Node.js
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.
PHP
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.
Python
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.
Ruby
To learn how to install and use the client library for Secret Manager, see the Secret Manager Client Libraries.