* Prepare attestation for release

* removed references to RetrieveResponseValidationCollateral from docs

* Added C++ SDK team as owners of attestation SDK

* Added Ahmad from attestation team to attestation owners

* Removed dead API; switched attestation back to beta-3
This commit is contained in:
Larry Osterman 2022-06-02 12:13:12 -07:00 коммит произвёл GitHub
Родитель ebe084bfc6
Коммит 6b903d0b3f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 2 добавлений и 82 удалений

2
.github/CODEOWNERS поставляемый
Просмотреть файл

@ -30,7 +30,7 @@
###########
# PRLabel: %Attestation
/sdk/attestation/ @LarryOsterman @gkostal @anilba06 @kroshkina-ms
/sdk/attestation/ @LarryOsterman @gkostal @anilba06 @kroshkina-ms @ahmadmsft @rickwinter @ahsonkhan @antkmsft @vhvb1989 @gearama
# PRLabel: %KeyVault
/sdk/keyvault/ @vhvb1989 @gearama @antkmsft @rickwinter

Просмотреть файл

@ -1,6 +1,6 @@
# Release History
## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.3 (2022-06-07)
### Breaking Changes
- `ValueToSend` field in `TpmAttestationOptions` becomes `Payload`.

Просмотреть файл

@ -95,9 +95,6 @@ namespace Azure { namespace Security { namespace Attestation {
* @return Response<Models::AttestationToken<std::string>> The returned policy from the
* service.
*
* @note \b Note: The RetrieveResponseValidationCollateral API \b MUST be called before the
* GetAttestationPolicy API is called to retrieve the information needed to validate the
* result returned by the service.
*/
Response<Models::AttestationToken<std::string>> GetAttestationPolicy(
Models::AttestationType const& attestationType,
@ -131,9 +128,6 @@ namespace Azure { namespace Security { namespace Attestation {
* @return Response<Models::AttestationToken<Models::PolicyResult>> The result of the set policy
* operation.
*
* @note \b Note: The RetrieveResponseValidationCollateral API \b MUST be called before the
* SetAttestationPolicy API is called to retrieve the information needed to validate the
* result returned by the service.
*/
Response<Models::AttestationToken<Models::PolicyResult>> SetAttestationPolicy(
Models::AttestationType const& attestationType,
@ -150,9 +144,6 @@ namespace Azure { namespace Security { namespace Attestation {
* @return Response<Models::AttestationToken<Models::PolicyResult>> The result of the reset
* policy operation.
*
* @note \b Note: The RetrieveResponseValidationCollateral API \b MUST be called before the
* ResetAttestationPolicy API is called to retrieve the information needed to validate the
* result returned by the service.
*/
Response<Models::AttestationToken<Models::PolicyResult>> ResetAttestationPolicy(
Models::AttestationType const& attestationType,
@ -270,36 +261,6 @@ namespace Azure { namespace Security { namespace Attestation {
std::vector<Models::AttestationSigner> m_attestationSigners;
/**
* @brief Construct a new Attestation Administration Client object.
*
* @param endpoint The URL address where the client will send the requests to.
* @param credential The authentication token to use.
* @param options The options to customize the client behavior.
* @return The newly created client.
*/
static AttestationAdministrationClient CreateConcrete(
std::string const& endpoint,
std::shared_ptr<Core::Credentials::TokenCredential const> credential,
AttestationAdministrationClientOptions const& options
= AttestationAdministrationClientOptions{},
Azure::Core::Context const& context = Azure::Core::Context{});
/**
* @brief Construct a new Attestation Administration Client object.
*
* @param endpoint The URL address where the client will send the requests to.
* @param credential The authentication token to use.
* @param options The options to customize the client behavior.
* @return The newly created client.
*/
static std::unique_ptr<AttestationAdministrationClient> CreatePointer(
std::string const& endpoint,
std::shared_ptr<Core::Credentials::TokenCredential const> credential,
AttestationAdministrationClientOptions const& options
= AttestationAdministrationClientOptions{},
Azure::Core::Context const& context = Azure::Core::Context{});
/**
* @brief Construct a new Attestation Administration Client object.
*

Просмотреть файл

@ -201,9 +201,6 @@ namespace Azure { namespace Security { namespace Attestation {
* @returns Response<AttestationToken<AttestationResult>> - The result of the
* attestation operation.
*
* @note \b Note: The RetrieveResponseValidationCollateral API \b MUST be called before the
* AttestSgxEnclave API is called to retrieve the information needed to validate the
* result returned by the service.
*/
Response<Models::AttestationToken<Models::AttestationResult>> AttestSgxEnclave(
std::vector<uint8_t> const& sgxQuoteToAttest,
@ -222,9 +219,6 @@ namespace Azure { namespace Security { namespace Attestation {
* @returns Response<AttestationToken<AttestationResult>> - The result of the attestation
* operation
* @note \b Note: The RetrieveResponseValidationCollateral API \b MUST be called before the
* AttestOpenEnclave API is called to retrieve information needed to used to validate the
* result returned by the service.
*/
Response<Models::AttestationToken<Models::AttestationResult>> AttestOpenEnclave(
std::vector<uint8_t> const& openEnclaveReportToAttest,
@ -262,41 +256,6 @@ namespace Azure { namespace Security { namespace Attestation {
AttestationTokenValidationOptions m_tokenValidationOptions;
std::vector<Models::AttestationSigner> m_attestationSigners;
/** @brief Construct a new Attestation Client object
*
* @details Constructs a new attestation client. Follows the
* factory pattern in [C++ Core Guidelines
* C.50](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c50-use-a-factory-function-if-you-need-virtual-behavior-during-initialization)
*
* @param endpoint The URL address where the client will send the requests to.
* @param credential The authentication method to use (required for TPM attestation). If the
* credential parameter is not supplied, the connection will be unauthenticated.
* @param options The options to customize the client behavior.
* @return std::unique_ptr<AttestationClient> The newly created client.
*/
static AttestationClient CreateConcrete(
std::string const& endpoint,
std::shared_ptr<Core::Credentials::TokenCredential const> credential,
AttestationClientOptions const& options = AttestationClientOptions{},
Azure::Core::Context const& constext = Azure::Core::Context{});
/** @brief Construct a new Attestation Client object
*
* @details Constructs a new attestation client. Follows the
* factory pattern in [C++ Core Guidelines
* C.50](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c50-use-a-factory-function-if-you-need-virtual-behavior-during-initialization)
*
* @param endpoint The URL address where the client will send the requests to.
* @param credential The authentication method to use (required for TPM attestation). If the
* credential parameter is not supplied, the connection will be unauthenticated.
* @param options The options to customize the client behavior.
* @return std::unique_ptr<AttestationClient> The newly created client.
*/
static std::unique_ptr<AttestationClient> CreatePointer(
std::string const& endpoint,
std::shared_ptr<Core::Credentials::TokenCredential const> credential,
AttestationClientOptions const& options = AttestationClientOptions{},
Azure::Core::Context const& constext = Azure::Core::Context{});
/** @brief Construct a new Attestation Client object
*
* @param endpoint The URL address where the client will send the requests to.