Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the Python Track 2 SDK for the Microsoft Azure Attestation Service. #18023

Merged
merged 69 commits into from
May 7, 2021
Merged
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
5c676c3
Added local autorest generation file for python
LarryOsterman Apr 9, 2021
1d57996
Extremely bare bones implementation of the start of a python SDK for …
LarryOsterman Apr 9, 2021
21a1069
Added local autorest generation file for python
LarryOsterman Apr 9, 2021
29b1b2d
Extremely bare bones implementation of the start of a python SDK for …
LarryOsterman Apr 9, 2021
deb3fbd
Merge branch 'LarryO-CreatePythonSDK' of https://github.com/LarryOste…
LarryOsterman Apr 12, 2021
38739ee
Added get_policy API and some more infrastructure
LarryOsterman Apr 12, 2021
7bdbb8d
Python starts to limp - get_policy and set_policy implemented
LarryOsterman Apr 13, 2021
cbd6717
Merge branch 'master' into LarryO-CreatePythonSDK
LarryOsterman Apr 13, 2021
6ba4a1e
Fixed typo
LarryOsterman Apr 13, 2021
bcf96d5
CI Test pass fixes
LarryOsterman Apr 13, 2021
1b50afa
Test pass setup
LarryOsterman Apr 13, 2021
3487871
Removed duplicate attestation_location_short_name
LarryOsterman Apr 13, 2021
5e1a5d3
More CI pipeline fixes
LarryOsterman Apr 13, 2021
5409a03
Converted async test to use TestPreparer; re-ran recorded tests
LarryOsterman Apr 13, 2021
d517396
Only check issuer on live tests
LarryOsterman Apr 13, 2021
98fe4fd
Updates to unit tests, recorded tests now all pass
LarryOsterman Apr 14, 2021
4df18a1
Removed Python 3 specific constructs
LarryOsterman Apr 14, 2021
a63cbb4
A couple more Py3 constructs
LarryOsterman Apr 14, 2021
eb68997
More Py3 constructs
LarryOsterman Apr 14, 2021
af65901
Hopefully final Py3 constructs
LarryOsterman Apr 14, 2021
33635d4
Try passing bytes into base64 decoder, not str
LarryOsterman Apr 14, 2021
a6b3791
Another Py3/Py27 fix
LarryOsterman Apr 14, 2021
08362e1
Try to remove envvars from tests.yml
LarryOsterman Apr 14, 2021
7f6a4b5
Try to remove envvars from tests.yml
LarryOsterman Apr 14, 2021
3da92db
Validate attestation tokens
LarryOsterman Apr 15, 2021
22f6ed8
Convert bytes to str to make json encoder happy
LarryOsterman Apr 15, 2021
0b91fbb
Changed how we convert base64 to string
LarryOsterman Apr 15, 2021
110c66d
Added test for secured and unsecured policy set
LarryOsterman Apr 15, 2021
4bfbe1d
Added attestation team to codeowners
LarryOsterman Apr 15, 2021
daa6aa7
Pass in type of AttestationToken into constructor, making it dramatic…
LarryOsterman Apr 16, 2021
26f4cd6
Start converting attributes in AttestationToken to properties
LarryOsterman Apr 16, 2021
2ac1c55
Added support for sgx and openenclave, and tests for both
LarryOsterman Apr 17, 2021
2dcb2bc
Added kwargs to all the calls into generated code
LarryOsterman Apr 19, 2021
e7ed6ad
Updated recordings
LarryOsterman Apr 19, 2021
a059294
Merge branch 'master' into LarryO-CreatePythonSDK
LarryOsterman Apr 19, 2021
521c1d1
Update sdk/attestation/azure-security-attestation/SWAGGER.md
LarryOsterman Apr 19, 2021
27492ca
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman Apr 19, 2021
9fd1db6
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman Apr 19, 2021
38ab274
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman Apr 19, 2021
8e52d67
Update sdk/attestation/azure-security-attestation/tests/test_attestat…
LarryOsterman Apr 19, 2021
e399c3e
Next round of pull request feedback
LarryOsterman Apr 19, 2021
ad5a401
Integrated first round of API changes from .Net API review; Removed C…
LarryOsterman May 4, 2021
1cff859
Client documentation updates
LarryOsterman May 4, 2021
b91bb79
Ported readme.md from .Net to Python - snippets are still .Net unfort…
LarryOsterman May 4, 2021
e8efb6b
Sphinx updates
LarryOsterman May 4, 2021
9d48ebf
Updates to readme.md to include python snippets
LarryOsterman May 5, 2021
92a4a54
More readme CI changes
LarryOsterman May 5, 2021
c94d7ff
Removed en-us from link
LarryOsterman May 5, 2021
07aae3c
Finished attestation callback test; re-generated swagger; moved swagg…
LarryOsterman May 5, 2021
1836e36
Working and tests for add policy certificate
LarryOsterman May 6, 2021
3ccee2b
CI Fixes; cleaned up more configuration options
LarryOsterman May 6, 2021
1ef5652
Added attestation swagger to docsettings
LarryOsterman May 6, 2021
545bbda
Updated recordings; added TPM attestation test; added remove policy m…
LarryOsterman May 6, 2021
2c6d43e
Added recordings for TPM attestation
LarryOsterman May 6, 2021
fc4c333
Copyright note updates
LarryOsterman May 6, 2021
df6c230
Fixed typos in CODEOWNERS file
LarryOsterman May 6, 2021
cc55553
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman May 6, 2021
8f469a2
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman May 6, 2021
724aa34
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman May 6, 2021
a60e1e8
Update sdk/attestation/azure-security-attestation/azure/security/atte…
LarryOsterman May 7, 2021
516ff1f
Removed a couple of ._generated exported types; cleaned up token vali…
LarryOsterman May 7, 2021
df8c4c1
Removed generated types from __init__.py
LarryOsterman May 7, 2021
25a6542
More pull request feedback
LarryOsterman May 7, 2021
d71ea80
Tweaks to client API - cleaned up some documentation; use list to fil…
LarryOsterman May 7, 2021
2f6e9aa
Merge branch 'master' into LarryO-CreatePythonSDK
LarryOsterman May 7, 2021
3acce02
More documentation cleanup; minor changes to async test
LarryOsterman May 7, 2021
6a5cbd0
lmanzuel first round of pull request feedback
LarryOsterman May 7, 2021
cadb558
Removed base_url attrbute/property
LarryOsterman May 7, 2021
c0e4d88
Attestation requires cryptography
LarryOsterman May 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update sdk/attestation/azure-security-attestation/azure/security/atte…
…station/_administration_client.py

Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com>
  • Loading branch information
LarryOsterman and seankane-msft authored Apr 19, 2021
commit 9fd1db656f33ee571ed59017a8fdc19c68418257
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(
instance_url, # type: str
**kwargs # type: Any
):
# type: (str, Any, dict) -> None
# type: (...) -> None
base_url = '{instanceUrl}'
if not credential:
raise ValueError("Missing credential.")
Expand Down