keyvault

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initializer

func Initializer() keyvault.BaseClient

Initializer creates KeyVault instance

func ListSecrets

func ListSecrets(basicClient keyvault.BaseClient) map[string]SecretAttribute

ListSecrets Get all the secrets from specified keyvault

Types

type SecretAttribute

type SecretAttribute struct {
	DateUpdated    float64
	ActivationDate float64
	ExpiryDate     float64
	Value          string
	IsEnabled      bool
}

SecretAttribute is constructed after querying Vault for each secret. It contains various attributes of secret other than values.

Jump to

Keyboard shortcuts

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