You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/advanced-features/writing-providers.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,9 +163,14 @@ The optional `PostWrite` hook on `CredsMetadata` lets the provider
163
163
prepare local resources after the wizard writes `creds.json` (BIND uses
164
164
this to create the zone files directory).
165
165
166
-
Worked examples: `providers/bind/bindProvider.go` (simple plus a
167
-
`PostWrite` hook) and `providers/transip/transipProvider.go` (two auth
168
-
methods expressed via `Internal` plus `ShowIf`).
166
+
The BIND and TransIP registrations in this repository are worked
167
+
examples maintainers can copy from:
168
+
169
+
-[`providers/bind/bindProvider.go`][bind-source]: the simple shape, plus a `PostWrite` hook that creates the zone files directory.
170
+
-[`providers/transip/transipProvider.go`][transip-source]: an auth method selector (`Internal` plus `ShowIf`) that branches between a short lived access token and an account name paired with a PEM private key.
0 commit comments