diff --git a/builtin/credential/cert/path_certs.go b/builtin/credential/cert/path_certs.go index fc5254f2891e..85266a74e03a 100644 --- a/builtin/credential/cert/path_certs.go +++ b/builtin/credential/cert/path_certs.go @@ -131,10 +131,11 @@ func (b *backend) pathCertRead( return &logical.Response{ Data: map[string]interface{}{ - "certificate": cert.Certificate, - "display_name": cert.DisplayName, - "policies": cert.Policies, - "ttl": duration / time.Second, + "certificate": cert.Certificate, + "display_name": cert.DisplayName, + "policies": cert.Policies, + "ttl": duration / time.Second, + "allowed_names": cert.AllowedNames, }, }, nil }