зеркало из https://github.com/Azure/ARO-RP.git
3.3 KiB
3.3 KiB
Certificates and Secrets Explained
Overview
This walks through all the keyvaults and explains the usage of the certificates and secrets used throughout.
MDM/MDSD
Majority of the certificates below are mdm/mdsd related. These certificates are certificates signed by the AME.GBL certificate authority and are vital to ensuring the necessary ingestion of metrics and logs within the ARO RP service and clusters.
More information about Geneva Monitoring can be found here.
Certificates
Majority of the certificates are configured for auto-renewal to ensure that when nearing expiration, they are updated and rotated. More information about certificate rotation can be found here
RP Keyvaults
-
Cluster (cls)
- Certificates:
- This keyvault contains all cluster
api
and*.apps
certificates used within OpenShift. These certificates are auto-rotated and pushed to clusters during AdminUpdates in theconfigureAPIServerCertificate
andconfigureIngressCertificate
steps. These certificates will not be generated if theDisableSignedCertificates
feature flag is set within the RP config.
- This keyvault contains all cluster
- Certificates:
-
Portal (por)
- Certificates:
portal-client
is a certificate which is used within the aro-portal app registration. The subject of this certificate must match that within thetrustedSubjects
section of the app registration manifest within the Azure portal, otherwise callbacks from the Microsoft AAD login service will not function correctly.portal-server
is a TLS certificate used in the SRE portal to access clusters
- Secrets:
portal-session-key
is a secret used to encrypt the session cookie when logging into the SRE portal. When logging in, the SRE portal will encrypt a session cookie with this secret and push it to persist in your web browser. Requests to the SRE portal then use this cookie to confirm authentication to the SRE portal.
- Certificates:
-
Service (svc)
- Certificates:
cluster-mdsd
is the certificate persisted for logging for every ARO clusterrp-firstparty
is the certificate for the First Party service principal credentialsrp-mdm
is the MDM certificate the RP uses to emit cluster metrics within the monitor and RP metrics within the RP processesrp-mdsd
is the MDSD certificate the RP uses to emit logs to the Geneva/MDSD servicerp-server
is the TLS certificate used for RP RESTful HTTPS calls
- Secrets:
encryption-key
a legacy secret which uses the old encryption suites to encrypt secure strings and secure bytes within the cluster documentencryption-key-v2
the new secret used to encrypt secure strings and secure bytes within the cluster documentfe-encryption-key
a legacy secret used to encryptskipTokens
for paging OpenShiftCluster List requests. Uses an older encryption suite.fe-encryption-key-v2
a new secret used to encryptskipTokens
for paging OpenShiftCluster List requests
- Certificates:
Gateway Keyvaults
- Gateway (gwy)
- Certificates:
gwy-mdm
the certificate used for emitting metrics to the Geneva/MDM servicegwy-mdsd
the certificate used for emitting logs to the Geneva/MDSD service
- Certificates: