Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureAuth ¶
type AzureAuth struct {
// contains filtered or unexported fields
}
func NewAzureAuth ¶
func NewAzureAuth(roleName string, opts ...LoginOption) (*AzureAuth, error)
NewAzureAuth initializes a new Azure auth method interface to be passed as a parameter to the client.Auth().Login method.
Supported options: WithMountPath, WithResource
type LoginOption ¶
func WithMountPath ¶
func WithMountPath(mountPath string) LoginOption
func WithResource ¶
func WithResource(url string) LoginOption
WithResource allows you to specify a different resource URL to use as the aud value on the JWT token than the default of Azure Public Cloud's ARM URL. This should match the resource URI that an administrator configured your Vault server to use.
See https://github.com/Azure/go-autorest/blob/master/autorest/azure/environments.go for a list of valid environments.
Click to show internal directories.
Click to hide internal directories.