* refact: Move groupMemberIdsKey const * feat: Add `boundary_group` data source * CR
60 lines
2.7 KiB
Go
60 lines
2.7 KiB
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package provider
|
|
|
|
const (
|
|
// IDKey is used for common SDK ID resource attribute
|
|
IDKey = "id"
|
|
// NameKey is used for common "name" resource attribute
|
|
NameKey = "name"
|
|
// DescriptionKey is used for common "description" resource attribute
|
|
DescriptionKey = "description"
|
|
// ScopeIdKey is used for common "scope_id" resource attribute
|
|
ScopeIdKey = "scope_id"
|
|
// TypeKey is used for common "type" resource attribute
|
|
TypeKey = "type"
|
|
// HostCatalogIdKey is used for common "host_catalog_id" resource attribute
|
|
HostCatalogIdKey = "host_catalog_id"
|
|
// AuthMethodIdKey is used for common "auth_method_id" resource attribute
|
|
AuthMethodIdKey = "auth_method_id"
|
|
// PluginIdKey is used for common "plugin_id" resource attribute
|
|
PluginIdKey = "plugin_id"
|
|
// PluginNameKey is used for common "plugin_name" resource attribute
|
|
PluginNameKey = "plugin_name"
|
|
// AttributesJsonKey is used for setting attributes and corresponds to the
|
|
// API "attributes" key
|
|
AttributesJsonKey = "attributes_json"
|
|
// SecretsJsonKey is used for setting secrets and corresponds to the API
|
|
// "secrets" key
|
|
SecretsJsonKey = "secrets_json"
|
|
// SecretsHmacKey is a read-only key used for ensuring we detect if secrets
|
|
// have changed
|
|
SecretsHmacKey = "secrets_hmac"
|
|
// PreferredEndpointsKey is used for setting preferred endpoints
|
|
PreferredEndpointsKey = "preferred_endpoints"
|
|
// SyncIntervalSecondsKey is used for setting the interval seconds
|
|
SyncIntervalSecondsKey = "sync_interval_seconds"
|
|
// internalSecretsConfigHmacKey is used for storing an hmac of hmac from server +
|
|
// config string
|
|
internalSecretsConfigHmacKey = "internal_secrets_config_hmac"
|
|
// internalHmacUsedForSecretsConfigHmacKey is used for storing the server-provided
|
|
// hmac used when calculating the current value of secretsConfigHmacKey
|
|
internalHmacUsedForSecretsConfigHmacKey = "internal_hmac_used_for_secrets_config_hmac"
|
|
// internalForceUpdateKey is used to force updates so we can always check
|
|
// the value of secrets
|
|
internalForceUpdateKey = "internal_force_update"
|
|
// workerFilter is used for common "worker_filter" resource attribute
|
|
WorkerFilterKey = "worker_filter"
|
|
// LoginNameKey is used for common "login_name" resource attribute
|
|
LoginNameKey = "login_name"
|
|
// PrimaryAccountIdKey is used for common "primary_account_id" resource attribute
|
|
PrimaryAccountIdKey = "primary_account_id"
|
|
// ScopeKey is used for common "scope" resource attribute
|
|
ScopeKey = "scope"
|
|
// ParentScopeKey is used for common "parent_scope_id" resource attribute
|
|
ParentScopeIdKey = "parent_scope_id"
|
|
// GroupMemberIdsKey is used for common "member_ids" resource attribute
|
|
GroupMemberIdsKey = "member_ids"
|
|
)
|