Endpoint
Create a Endpoint Resource
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);def Endpoint(resource_name, opts=None, data_json=None, disable_delete=None, disable_read=None, ignore_absent_fields=None, path=None, write_fields=None, __props__=None);func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Endpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Endpoint resource accepts the following input properties:
- Data
Json string String containing a JSON-encoded object that will be written to the given path as the secret data.
- Path string
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- Disable
Delete bool Don’t attempt to delete the path from Vault if true
- Disable
Read bool True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- Ignore
Absent boolFields When reading, disregard fields not present in data_json
- Write
Fields List<string> Top-level fields returned by write to persist in state
- Data
Json string String containing a JSON-encoded object that will be written to the given path as the secret data.
- Path string
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- Disable
Delete bool Don’t attempt to delete the path from Vault if true
- Disable
Read bool True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- Ignore
Absent boolFields When reading, disregard fields not present in data_json
- Write
Fields []string Top-level fields returned by write to persist in state
- data
Json string String containing a JSON-encoded object that will be written to the given path as the secret data.
- path string
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- disable
Delete boolean Don’t attempt to delete the path from Vault if true
- disable
Read boolean True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- ignore
Absent booleanFields When reading, disregard fields not present in data_json
- write
Fields string[] Top-level fields returned by write to persist in state
- data_
json str String containing a JSON-encoded object that will be written to the given path as the secret data.
- path str
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- disable_
delete bool Don’t attempt to delete the path from Vault if true
- disable_
read bool True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- ignore_
absent_ boolfields When reading, disregard fields not present in data_json
- write_
fields List[str] Top-level fields returned by write to persist in state
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Write
Data Dictionary<string, string> Map of strings returned by write operation
- Write
Data stringJson JSON data returned by write operation
- Id string
- The provider-assigned unique ID for this managed resource.
- Write
Data map[string]string Map of strings returned by write operation
- Write
Data stringJson JSON data returned by write operation
- id string
- The provider-assigned unique ID for this managed resource.
- write
Data {[key: string]: string} Map of strings returned by write operation
- write
Data stringJson JSON data returned by write operation
- id str
- The provider-assigned unique ID for this managed resource.
- write_
data Dict[str, str] Map of strings returned by write operation
- write_
data_ strjson JSON data returned by write operation
Look up an Existing Endpoint Resource
Get an existing Endpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EndpointState, opts?: CustomResourceOptions): Endpointstatic get(resource_name, id, opts=None, data_json=None, disable_delete=None, disable_read=None, ignore_absent_fields=None, path=None, write_data=None, write_data_json=None, write_fields=None, __props__=None);func GetEndpoint(ctx *Context, name string, id IDInput, state *EndpointState, opts ...ResourceOption) (*Endpoint, error)public static Endpoint Get(string name, Input<string> id, EndpointState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Data
Json string String containing a JSON-encoded object that will be written to the given path as the secret data.
- Disable
Delete bool Don’t attempt to delete the path from Vault if true
- Disable
Read bool True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- Ignore
Absent boolFields When reading, disregard fields not present in data_json
- Path string
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- Write
Data Dictionary<string, string> Map of strings returned by write operation
- Write
Data stringJson JSON data returned by write operation
- Write
Fields List<string> Top-level fields returned by write to persist in state
- Data
Json string String containing a JSON-encoded object that will be written to the given path as the secret data.
- Disable
Delete bool Don’t attempt to delete the path from Vault if true
- Disable
Read bool True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- Ignore
Absent boolFields When reading, disregard fields not present in data_json
- Path string
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- Write
Data map[string]string Map of strings returned by write operation
- Write
Data stringJson JSON data returned by write operation
- Write
Fields []string Top-level fields returned by write to persist in state
- data
Json string String containing a JSON-encoded object that will be written to the given path as the secret data.
- disable
Delete boolean Don’t attempt to delete the path from Vault if true
- disable
Read boolean True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- ignore
Absent booleanFields When reading, disregard fields not present in data_json
- path string
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- write
Data {[key: string]: string} Map of strings returned by write operation
- write
Data stringJson JSON data returned by write operation
- write
Fields string[] Top-level fields returned by write to persist in state
- data_
json str String containing a JSON-encoded object that will be written to the given path as the secret data.
- disable_
delete bool Don’t attempt to delete the path from Vault if true
- disable_
read bool True/false. Set this to true if your vault authentication is not able to read the data or if the endpoint does not support the
GETmethod. Setting this totruewill break drift detection. You should set this totruefor endpoints that are write-only. Defaults to false.- ignore_
absent_ boolfields When reading, disregard fields not present in data_json
- path str
The full logical path at which to write the given data. Consult each backend’s documentation to see which endpoints support the
PUTmethods and to determine whether they also supportDELETEandGET.- write_
data Dict[str, str] Map of strings returned by write operation
- write_
data_ strjson JSON data returned by write operation
- write_
fields List[str] Top-level fields returned by write to persist in state
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.