vault

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsCredential added in v1.0.6

type AwsCredential struct {
	Region              string `json:"region,omitempty"`
	AccessKey           string `json:"accessKey,omitempty"`
	SecretKey           string `json:"secretKey,omitempty"`
	CrossAccountRoleArn string `json:"crossAccountRoleArn,omitempty"`
	ExternalId          string `json:"externalId,omitempty"`
}

type VaultResponse added in v1.0.6

type VaultResponse struct {
	RequestId     string        `json:"request_id,omitempty"`
	LeaseId       string        `json:"lease_id,omitempty"`
	Renewable     string        `json:"renewable,omitempty"`
	LeaseDuration int64         `json:"lease_duration,omitempty"`
	Data          AwsCredential `json:"data,omitempty"`
}

func GetAccountDetails

func GetAccountDetails(vaultUrl string, vaultToken string, accountNo string) (*VaultResponse, error)

Jump to

Keyboard shortcuts

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