You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Sets the attestation policy for the specified attestation type.
99
106
100
-
:param azure.security.attestation.AttestationType attestation_type: :class:`azure.security.attestation.AttestationType` for
107
+
:param attestation_type: :class:`azure.security.attestation.AttestationType` for
101
108
which to set the policy.
102
-
:param str attestation_policy: Attestation policy to be set.
103
-
:keyword azure.security.attestation.AttestationSigningKey signing_key: Signing key to be
104
-
used to sign the policy before sending it to the service.
105
-
:return azure.security.attestation.AttestationResponse[azure.security.attestation.PolicyResult]: Attestation service response encapsulating a :class:`PolicyResult`.
:param attestation_policy: Attestation policy to be reset.
155
+
:type attestation_policy: str
156
+
:param signing_key: Signing key to be
140
157
used to sign the policy before sending it to the service.
141
-
:return azure.security.attestation.AttestationResponse[azure.security.attestation.PolicyResult]: Attestation service response encapsulating a :class:`PolicyResult`.
:keyword draft_policy: "draft" or "experimental" policy to be used with
102
113
this attestation request. If this parameter is provided, then this
103
114
policy document will be used for the attestation request.
104
115
This allows a caller to test various policy documents against actual data
105
116
before applying the policy document via the set_policy API
106
117
107
-
:return azure.security.attestation.AttestationResponse[azure.security.attestation.AttestationResult]: Attestation service response encapsulating an :class:`AttestationResult`.
118
+
:paramtype draft_policy: str
119
+
120
+
:return: Attestation service response encapsulating an :class:`AttestationResult`.
:keyword draft_policy: "draft" or "experimental" policy to be used with
153
170
this attestation request. If this parameter is provided, then this
154
171
policy document will be used for the attestation request.
155
172
This allows a caller to test various policy documents against actual data
156
173
before applying the policy document via the set_policy API.
157
-
:return azure.security.attestation.AttestationResponse[azure.security.attestation.AttestationResult]: Attestation service response encapsulating an :class:`AttestationResult`.
174
+
175
+
:paramtype draft_policy: str
176
+
177
+
:return: Attestation service response encapsulating an :class:`AttestationResult`.
See the `TPM Attestation Protocol Reference <https://docs.microsoft.com/en-us/azure/attestation/virtualization-based-security-protocol>`_ for more information.
210
232
211
-
:param azure.security.attestation.TpmAttestationRequest request: Incoming request to send to the TPM attestation service.
212
-
:returns azure.security.attestation.TpmAttestationResponse: A structure containing the response from the TPM attestation.
213
-
233
+
:param request: Incoming request to send to the TPM attestation service.
0 commit comments