AthenZ / k8s-athenz-sia

Apache License 2.0
1 stars 7 forks source link

role cert with customized name #50

Closed mlajkim closed 2 weeks ago

mlajkim commented 11 months ago

Background

You can change the name of the file with the given options as the following

TARGET_ROLE_TOKEN
<domain>:role.<role>:name.<file_name>
i.e) my-domain:role.worker
=> my-domain_worker.cert.pem
i.e) my-domain:role.worker.role
=> role.cert.pem

# Same logic as the TARGET_ROLE_TOKEN
TARGET_ACCESS_TOKEN
<domain>:role.<role>:name.<file_name>
<domain>:role.<role>:name.<file_name>

TODOs

WindzCUHK commented 11 months ago

note: :name.<file_name> is not a standard format in Athenz's component. We need to be cautious about adding this new format.

mlajkim commented 2 weeks ago

Handled in https://github.com/AthenZ/k8s-athenz-sia/pull/149

With the format: https://github.com/AthenZ/k8s-athenz-sia/issues/49