providers

package
v0.11.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSServiceRoleToken

func AWSServiceRoleToken() (roleData string, err error)

AWSServiceRoleToken gets the service role data of the VM.

func AzureServiceIdentityToken

func AzureServiceIdentityToken() (string, error)

AzureServiceIdentityToken will retrieve the service account token for the VM using the Metadata Identity Service of Azure.

func GCPServiceAccountToken

func GCPServiceAccountToken(ctx context.Context, audience string) (string, error)

GCPServiceAccountToken will retrieve the service account token and call the midgard library.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL