c151d5fd58
* add the ability for transit to use managed keys * add fields for rotate * reorganize managed keys for better error messaging * add aad for managed keys * change encrypting key interface * fix import error * fix fmt errors * move managed key rotation to a separate function * fix fmt issue * fix import error * fix go.mod issue * fix go.mod * remove extra rotate param * fix locking issue in rotation * fix errors in policy tests * move managed key params to fit existing policy functions * fix sign and verify * fix policy tests * fix test error
13 lines
278 B
Go
13 lines
278 B
Go
package transit
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
)
|
|
|
|
var errEntOnly = errors.New("managed keys are supported within enterprise edition only")
|
|
|
|
func GetManagedKeyUUID(ctx context.Context, b *backend, keyName string, keyId string) (uuid string, err error) {
|
|
return "", errEntOnly
|
|
}
|