Documentation
¶
Index ¶
- Variables
- func All() map[config.ChainType]Endpoints
- func GetKeyPairByAddressAndChain(ctx context.Context, req *logical.Request, name string, address string, ...) (*types.KeyPair, error)
- func GetSignParamsFromData(data *framework.FieldData) (serviceName, hashInput, address string, err error)
- func KeyManagerExistenceCheck(chain config.ChainType) ...
- func PathCrudList(chain config.ChainType) *framework.Path
- func PathUpdateExternalData(chain config.ChainType) *framework.Path
- func Register(chain config.ChainType, e Endpoints)
- func RetrieveKeyManager(ctx context.Context, req *logical.Request, chain config.ChainType, ...) (*types.KeyManager, error)
- func WrapperDeleteKeyManager(chain config.ChainType) ...
- func WrapperListKeyManager(chain config.ChainType) ...
- func WrapperReadKeyManager(chain config.ChainType) ...
- func WriteExternalData(chain config.ChainType) ...
- type Backend
- type Endpoints
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCrudOperations = map[string]*framework.FieldSchema{ "name": { Type: framework.TypeString, }, "address": { Type: framework.TypeString, }, "private_key": { Type: framework.TypeString, Description: "(Optional, default random key) Hex string for the private key", Default: "", }, "external_data": { Type: framework.TypeMap, Description: "(Optional) Arbitrary external metadata to attach to this key pair", Default: nil, }, "lock": { Type: framework.TypeBool, Description: "(Optional) Lock the key", Default: false, }, "rnd": { Type: framework.TypeString, Description: "(default random key) only for vault success operations", Default: "", }, }
View Source
var DefaultHelpDescriptionCreateList = `
POST - create a new keyManager
GET - list all addresses
`
View Source
var DefaultHelpHelpSynopsisCreateList = "" /* 129-byte string literal not displayed */
View Source
var DefaultSignOperation = map[string]*framework.FieldSchema{ "name": {Type: framework.TypeString}, "hash": { Type: framework.TypeString, Description: "Hex string of the hash that should be signed.", Default: "", }, "address": { Type: framework.TypeString, Description: "The address that belongs to a private key in the key-manager.", }, }
View Source
var DefaultUpdateOperations = map[string]*framework.FieldSchema{ "name": { Type: framework.TypeString, }, "address": { Type: framework.TypeString, }, "external_data": { Type: framework.TypeMap, Description: "(Optional) Arbitrary external metadata to attach to this key pair", Default: nil, }, "lock": { Type: framework.TypeBool, Description: "(Optional) Lock the key", Default: false, }, }
Functions ¶
func GetSignParamsFromData ¶
func KeyManagerExistenceCheck ¶ added in v1.2.4
func PathUpdateExternalData ¶ added in v1.2.5
func RetrieveKeyManager ¶
func WrapperDeleteKeyManager ¶ added in v1.0.2
func WrapperListKeyManager ¶
func WrapperReadKeyManager ¶ added in v1.0.2
Types ¶
Click to show internal directories.
Click to hide internal directories.