Package Usage: go: github.com/Azure/azure-sdk-for-go/sdk/azidentity
This example shows how to cache service principal authentication data persistently to make it accessible
to multiple processes. The example uses ClientCertificateCredential, however the pattern is the same
for all service principal credential types having a Cache field in their options. The key steps are:
Credentials that authenticate users such as InteractiveBrowserCredential have a different pattern; see
the persistent user authentication example.
This example shows how to cache authentication data persistently so a user doesn't need to authenticate
interactively every time the application runs. The example uses InteractiveBrowserCredential, however
DeviceCodeCredential has the same API. The key steps are:
This examples applies to credentials that authenticate users. For credentials authenticating service principal, see
the persistent service principal authentication example.
This example demonstrates how to use azidentity to authenticate a go-redis client
connecting to Azure Cache for Redis. See the Azure Cache for Redis documentation
for information on configuring a cache to use Entra ID authentication.
54 versions
Latest release: over 1 year ago
2,996 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/Azure/azure-sdk-for-go/sdk/azidentity
Dependent Repos 1
healthdatahub/outils-pour-la-plateforme-technologique/ingestion-transfo-tools
Last synced: 7 days ago - Pushed: 11 months ago