Skip to content

Commit 8b5463b

Browse files
authored
Adding the autogenerated attestation package (Azure#13120)
This PR adds the autogenerated attestation package along with a test suite.
1 parent 4fa79ba commit 8b5463b

File tree

66 files changed

+5895
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+5895
-6
lines changed

common/config/rush/pnpm-lock.yaml

+70-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rush.json

+5
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@
357357
"projectFolder": "sdk/search/search-documents",
358358
"versionPolicyName": "client"
359359
},
360+
{
361+
"packageName": "@azure/attestation",
362+
"projectFolder": "sdk/attestation/attestation",
363+
"versionPolicyName": "client"
364+
},
360365
{
361366
"packageName": "@azure/communication-administration",
362367
"projectFolder": "sdk/communication/communication-administration",
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2020 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

sdk/attestation/attestation/README.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Azure Attestation client library for JavaScript
2+
3+
This package contains an isomorphic SDK for AttestationClient.
4+
5+
## Getting started
6+
7+
### Currently supported environments
8+
9+
- Node.js version 8.x.x or higher
10+
11+
### Install the `@azure/attestation` package
12+
13+
```bash
14+
npm install @azure/attestation
15+
```
16+
17+
### How to use
18+
19+
## Key concepts
20+
21+
This SDK provides the following functionality for the Microsoft Azure Attestation Service
22+
23+
- Microsoft Azure Attestation Enclave Attestation
24+
- Attestation Policy Management APIs
25+
- Attestation Policy Management Certificate Management APIs.
26+
27+
## Examples
28+
29+
## Troubleshooting
30+
31+
### Enable logs
32+
33+
You can set the following environment variable to get the debug logging output when using this library.
34+
35+
- Getting debug logs from the Azure Attestation client library
36+
37+
```bash
38+
export AZURE_LOG_LEVEL=verbose
39+
```
40+
41+
## Next steps
42+
43+
## Contributing
44+
45+
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.
46+
47+
## Related projects
48+
49+
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
50+
51+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcdn%2Farm-cdn%2FREADME.png)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3+
"mainEntryPointFilePath": "types/src/index.d.ts",
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
11+
"dtsRollup": {
12+
"enabled": true,
13+
"untrimmedFilePath": "",
14+
"publicTrimmedFilePath": "./types/attestation.d.ts"
15+
},
16+
"messages": {
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
22+
"extractorMessageReporting": {
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)