From 90904a9edbbc5be3e3f3134ae28c14a896aa3302 Mon Sep 17 00:00:00 2001 From: Alexander Gama Espinosa Date: Fri, 11 Aug 2023 16:05:49 -0700 Subject: [PATCH 1/2] Add CertSignerRoleName to roles --- common/roles.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/roles.go b/common/roles.go index 3604d82e..6a31bf9d 100644 --- a/common/roles.go +++ b/common/roles.go @@ -119,4 +119,6 @@ const ( SecretReaderRoleName = "SecretReader" // Health Reader role - has permissions to read agent health information HealthReaderRoleName = "HealthReader" + // Certificate Signer Role - has permissions to run read sign and renew operations on Certificates + CertSignerRoleName = "CertificateSigner" ) From 5884e285b4acca98ba06b066fc1efc5871cf33d3 Mon Sep 17 00:00:00 2001 From: Alexander Gama Espinosa Date: Fri, 11 Aug 2023 16:06:36 -0700 Subject: [PATCH 2/2] Fix comment --- common/roles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/roles.go b/common/roles.go index 6a31bf9d..05d27215 100644 --- a/common/roles.go +++ b/common/roles.go @@ -119,6 +119,6 @@ const ( SecretReaderRoleName = "SecretReader" // Health Reader role - has permissions to read agent health information HealthReaderRoleName = "HealthReader" - // Certificate Signer Role - has permissions to run read sign and renew operations on Certificates + // Certificate Signer Role - has permissions to run sign and renew operations on Certificates CertSignerRoleName = "CertificateSigner" )