Adds optional use and alg fields to JWK as defined in the JWK specification RFC-7517
Output from acceptance testing:
$ TF_ACC=1 go test ./... -v -trimpath -coverprofile=coverage.out
? github.com/iwarapter/terraform-provider-jwks [no test files]
=== RUN TestAccJwksFromCertificateDataSource
--- PASS: TestAccJwksFromCertificateDataSource (2.26s)
=== RUN TestAccJwksFromKeyDataSource
--- PASS: TestAccJwksFromKeyDataSource (4.20s)
PASS
coverage: 84.8% of statements
ok github.com/iwarapter/terraform-provider-jwks/internal/sdkv2provider 9.625s coverage: 84.8% of statements
Adds optional
use
andalg
fields to JWK as defined in the JWK specification RFC-7517Output from acceptance testing: