Skip to content

feat(ngts): add policy management (get_policy/set_policy) - VC-54745#203

Open
TomaszSwierszczCA wants to merge 1 commit into
Venafi:masterfrom
TomaszSwierszczCA:add-policy-management
Open

feat(ngts): add policy management (get_policy/set_policy) - VC-54745#203
TomaszSwierszczCA wants to merge 1 commit into
Venafi:masterfrom
TomaszSwierszczCA:add-policy-management

Conversation

@TomaszSwierszczCA

Copy link
Copy Markdown
Contributor

Implement get_policy/set_policy for NGTS by reusing Cloud's CIT/CA/policy-spec helpers (build_policy_spec, build_cit_request, validate_policy_spec) while skipping the Application/owner layer NGTS has no concept of: CIT-only zone, global certificateissuingtemplates endpoint, empty users/owners (parity with Go NGTS).

  • Offline tests covering create/update, default-CA, no-Application-calls, and get_policy spec build (tests/test_local_methods.py)
  • Live get_policy + set->get round-trip tests (tests/test_ngts.py)
  • Bump version to 0.20.0

Implement get_policy/set_policy for NGTS by reusing Cloud's CIT/CA/policy-spec
helpers (build_policy_spec, build_cit_request, validate_policy_spec) while skipping
the Application/owner layer NGTS has no concept of: CIT-only zone, global
certificateissuingtemplates endpoint, empty users/owners (parity with Go NGTS).

- Offline tests covering create/update, default-CA, no-Application-calls, and
  get_policy spec build (tests/test_local_methods.py)
- Live get_policy + set->get round-trip tests (tests/test_ngts.py)
- Bump version to 0.20.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant