Policies
Updates an existing policy configuration
Body
createdinteger · int64Required
Creation timestamp, set by the plugin
identitiesobject · mapRequiredDefault:
A map of all identity types with their respective selector
{"provider":"azure-sev-snp-vtpm","platform":null,"firmware":[{"name":"azure-dc2asv5","policy":null},{"name":"azure-dc4asv5","policy":null}],"workload":{"name":"azure-ubuntu","policy":{"pcrs.0":false}},"metadata":null}namestringRequired
Name of the policy
Responses
200
Policy updated successfully
application/json
400
Invalid request body or policy not found
application/json
post
/v1/auth/ratls/policiesCreates a new policy configuration
Body
createdinteger · int64Required
Creation timestamp, set by the plugin
identitiesobject · mapRequiredDefault:
A map of all identity types with their respective selector
{"provider":"azure-sev-snp-vtpm","platform":null,"firmware":[{"name":"azure-dc2asv5","policy":null},{"name":"azure-dc4asv5","policy":null}],"workload":{"name":"azure-ubuntu","policy":{"pcrs.0":false}},"metadata":null}namestringRequired
Name of the policy
Responses
200
Policy created successfully
application/json
400
Invalid request body
put
/v1/auth/ratls/policiesLast updated
Was this helpful?