Files
teleport/examples
nixpig 4f1dedbe5d Add APIs for handling Entra ID groups overage on SAML connectors (#65653)
* Add APIs for handling Entra ID groups overage on SAML connectors

* Restore redacted client secret on connector update

* Add test case for missing creds

* Regenerate resource docs

* Regenerate derived functions

* Overide IsEqual for SAMLConnectorSpecV2

* Update generated CRD and docs

* Update generated TF

* Remove junk from failed command

* Add API comments and update docs

* Exclude client_secret from Terraform schema

* Exclude client_secret from Terraform schema

* Update Terraform docs

* Reorder refill and validate

* Strip client secret in user path

* Add marshaler for SAMLConnectorSpecV2 type

* Add tests for stripping client secret on all paths

* Tidy up tests a bit

* Use protojson+protoadapt instead of jsonpb

* Ignore unknown fields on unmarshal

* Use Empty instead of Equal

* Add custom marshaling methods for SAML connector

* Add comment for use of nolint:depguard

* Fix core issue with marshaling oneof fields

* Refactor credentials oneof handling

* Add comments to connector methods

* Add comments for custom marshaler/unmarshaler

* Fix spelling mistakes in comments

* Refactor credentials handling so future additions don't silently fail

* Ensure consistent marshaling/unmarshaling of empty credentials

* Don't ensure non-empty client secret

* Refactor to enumerating field instead of oneof

* Add comment around validation

* Align validation on Upsert (create) with Create paths

* Defer to Fill.. methods determination of SAML connector existence

* Disable follow URLs validation

* Update proto comment to remove extra spaces from generated docs

* Mark client secret as sensitive in TF schema/docs

* Combine credentials and signing key refills

* Tidy up

* Regenerate types and docs

* Add TODO for credential availability when provider is enabled

* Update error messages for missing skp and creds

* Return connector without secrets

* Revert "Return connector without secrets"

This reverts commit 2ab4aae7d4.

* Add comment on validation callsite for empty argument

* Add godoc for connector with secrets validation

* Add godoc for error consts in secret refill

* Fix spelling in comment

* Fix spelling in error
2026-04-21 13:32:53 +00:00
..
2024-06-26 19:24:16 +00:00
2024-11-13 13:40:00 +00:00