crypto

package
v0.0.0-...-8acf59f Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ScVaultAddress is the address of the vault server
	ScVaultAddress = "SC_VAULT_ADDR"

	// ScVaultToken is the token used for authentication with the vault server
	ScVaultToken = "SC_VAULT_TOKEN"

	// ScVaultSecret is name of the secret resource on the vault server
	ScVaultSecret = "SC_VAULT_SECRET"

	// ScVaultSymmKey is name of the key stored in vault server resource
	ScVaultSymmKey = "SC_VAULT_SYMM_KEY"
)

Variables

This section is empty.

Functions

func DecryptSVMConfig

func DecryptSVMConfig(data []byte, symmKey []byte, nonce []byte) ([]byte, error)

DecryptSVMConfig decrypts the config map

func IsVMTEE

func IsVMTEE() bool

Returns true if VM TEE (SEV/PEF/MKTME)

func PopulateSecretsForVMTEE

func PopulateSecretsForVMTEE() error

Get Secrets from VM TEE

Types

This section is empty.

Jump to

Keyboard shortcuts

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