This repository was archived by the owner on Jul 3, 2024. It is now read-only.
File tree 2 files changed +7
-7
lines changed
roles/sigstore_scaffolding/defaults
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
FULCIO_URL : https://fulcio.${{ secrets.BASE_DOMAIN }}
17
17
TUF_URL : https://tuf.${{ secrets.BASE_DOMAIN }}
18
18
KEYCLOAK_URL : ${{ secrets.KEYCLOAK_URL }}
19
- KEYCLOAK_REALM : sigstore
20
- KEYCLOAK_OIDC_ISSUER : ${{ secrets.KEYCLOAK_URL}}/realms/sigstore
19
+ KEYCLOAK_REALM : trusted-artifact-signer
20
+ KEYCLOAK_OIDC_ISSUER : ${{ secrets.KEYCLOAK_URL}}/realms/trusted-artifact-signer
21
21
REKOR_URL : https://rekor.${{ secrets.BASE_DOMAIN }}
22
22
TF_VAR_base_domain : ${{ secrets.BASE_DOMAIN }}
23
23
TF_VAR_vpc_id : ${{ secrets.VPC_ID }}
65
65
66
66
- name : sign and verify
67
67
run : |
68
- TOKEN=$(curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "username=jdoe" -d "password=secure" -d "grant_type=password" -d "scope=openid" -d "client_id=sigstore" https://keycloak-keycloak-system.apps.platform-sts.pcbk.p1.openshiftapps.com/auth/realms/sigstore /protocol/openid-connect/token | sed -E 's/.*"access_token":"([^"]*).*/\1/')
69
- cosign sign -y --fulcio-url=${{ env.FULCIO_URL}} --rekor-url=${{ env.REKOR_URL}} --oidc-issuer=${{ env.KEYCLOAK_OIDC_ISSUER}} --identity-token=$TOKEN ${{ env.IMAGE }}
68
+ TOKEN=$(curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "username=jdoe" -d "password=secure" -d "grant_type=password" -d "scope=openid" -d "client_id=sigstore" ${{ env.KEYCLOAK_OIDC_ISSUER }} /protocol/openid-connect/token | sed -E 's/.*"access_token":"([^"]*).*/\1/')
69
+ cosign sign -y --fulcio-url=${{ env.FULCIO_URL}} --rekor-url=${{ env.REKOR_URL}} --oidc-issuer=${{ env.KEYCLOAK_OIDC_ISSUER}} --identity-token=$TOKEN --oidc-client-id=${{ secrets.KEYCLOAK_REALM }} ${{ env.IMAGE }}
70
70
cosign verify --rekor-url=${{ env.REKOR_URL}} --certificate-identity-regexp ".*@redhat" --certificate-oidc-issuer-regexp ".*keycloak.*" ${{ env.IMAGE }}
71
71
72
72
- name : Terraform Destroy
Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ ct_logprefix: sigstoreansible
98
98
99
99
scaffolding_utils_image : quay.io/ablock/sigstore-scaffolding-helper:latest
100
100
101
- oidc_issuers : https://keycloak-keycloak-system.apps.platform-sts.pcbk.p1.openshiftapps.com/auth/realms/sigstore
102
- sigstore_client_id : sigstore
103
- issuer_url : https://keycloak-keycloak-system.apps.platform-sts.pcbk.p1.openshiftapps.com/auth/realms/sigstore
101
+ oidc_issuers : https://keycloak-keycloak-system.apps.platform-sts.pcbk.p1.openshiftapps.com/auth/realms/trusted-artifact-signer
102
+ sigstore_client_id : trusted-artifact-signer
103
+ issuer_url : https://keycloak-keycloak-system.apps.platform-sts.pcbk.p1.openshiftapps.com/auth/realms/trusted-artifact-signer
104
104
oidc_issuers_type : email
105
105
106
106
# Sigstore Images
You can’t perform that action at this time.
0 commit comments