Documentation
¶
Index ¶
Constants ¶
View Source
const (
ENV_ID = "env_id"
)
View Source
const FREE_TIER_LIMIT_NUMBER_OF_ENVIRONMENTS = 4
Variables ¶
This section is empty.
Functions ¶
func SyncHandler ¶
func SyncWithPasswordHandler ¶
--- Flow ---
- Get the organisation ID linked to this environment.
- Decrypt the organisation's encryption key.
- Fetch the secrets of this environment. - Fetch the latest version if no version is specified in request payload.
- Decrypt the secrets using organisation's encryption key.
- Fetch the events linked to this environment.
- Call the integration service for each of the events to sync the secrets.
func ValidateInputHandler ¶ added in v1.1.11
Types ¶
type SyncOptions ¶ added in v1.1.8
type SyncOptions struct { EventIDs []string `json:"event_ids,omitempty"` Pairs *keypayload.KPMap `json:"pairs"` }
Click to show internal directories.
Click to hide internal directories.