Skip to content

Commit

Permalink
Sync OpenAPI: Miscellaneous changes from Vault 1.15.0-dev (#230)
Browse files Browse the repository at this point in the history
* Sync OpenAPI: Miscellaneous changes from Vault 1.15.0-dev

Reminder: we are still carrying a local modification to the Vault source
tree when generating OpenAPI of
```
go get github.com/hashicorp/vault-plugin-{secrets-{gcp,kv},auth-jwt}@main
go mod tidy
```
whilst we wait for those plugins to be updated in the main Vault tree.

* Sync further changes from Vault

* Sync further changes from Vault
  • Loading branch information
maxb committed Sep 11, 2023
1 parent 44cd051 commit 1bad0b3
Show file tree
Hide file tree
Showing 51 changed files with 1,137 additions and 57 deletions.
50 changes: 50 additions & 0 deletions api_secrets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

101 changes: 101 additions & 0 deletions api_system.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/AuthEnableMethodRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**Local** | Pointer to **bool** | Mark the mount as a local mount, which is not replicated and is unaffected by replication. | [optional] [default to false]
**Options** | Pointer to **map[string]interface{}** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PluginName** | Pointer to **string** | Name of the auth plugin to use based from the name in the plugin catalog. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**SealWrap** | Pointer to **bool** | Whether to turn on seal wrapping for the mount. | [optional] [default to false]
**Type** | Pointer to **string** | The type of the backend. Example: \"userpass\" | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/AuthTuneConfigurationParametersRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**MaxLeaseTtl** | Pointer to **string** | The max lease TTL for this mount. | [optional]
**Options** | Pointer to **map[string]interface{}** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PassthroughRequestHeaders** | Pointer to **[]string** | A list of headers to whitelist and pass from the request to the plugin. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**TokenType** | Pointer to **string** | The type of token to issue (service or batch). | [optional]
**UserLockoutConfig** | Pointer to **map[string]interface{}** | The user lockout configuration to pass into the backend. Should be a json object with string keys and values. | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/AwsConfigureClientRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**SecretKey** | Pointer to **string** | AWS Secret Access Key for the account used to make AWS API requests. | [optional] [default to ""]
**StsEndpoint** | Pointer to **string** | URL to override the default generated endpoint for making AWS STS API calls. | [optional] [default to ""]
**StsRegion** | Pointer to **string** | The region ID for the sts_endpoint, if set. | [optional] [default to ""]
**UseStsRegionFromClient** | Pointer to **bool** | Uses the STS region from client requests for making AWS STS API calls. | [optional] [default to false]



Expand Down
2 changes: 1 addition & 1 deletion docs/AwsLoginRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**IamHttpRequestMethod** | Pointer to **string** | HTTP method to use for the AWS request when auth_type is iam. This must match what has been signed in the presigned request. Currently, POST is the only supported value | [optional]
**IamHttpRequestMethod** | Pointer to **string** | HTTP method to use for the AWS request when auth_type is iam. This must match what has been signed in the presigned request. | [optional]
**IamRequestBody** | Pointer to **string** | Base64-encoded request body when auth_type is iam. This must match the request body included in the signature. | [optional]
**IamRequestHeaders** | Pointer to **string** | Key/value pairs of headers for use in the sts:GetCallerIdentity HTTP requests headers when auth_type is iam. Can be either a Base64-encoded, JSON-serialized string, or a JSON object of key/value pairs. This must at a minimum include the headers over which AWS has included a signature. | [optional]
**IamRequestUrl** | Pointer to **string** | Base64-encoded full URL against which to make the AWS request when using iam auth_type. | [optional]
Expand Down
4 changes: 3 additions & 1 deletion docs/DatabaseWriteStaticRoleRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ Name | Type | Description | Notes
**CredentialConfig** | Pointer to **map[string]interface{}** | The configuration for the given credential_type. | [optional]
**CredentialType** | Pointer to **string** | The type of credential to manage. Options include: 'password', 'rsa_private_key'. Defaults to 'password'. | [optional] [default to "password"]
**DbName** | Pointer to **string** | Name of the database this role acts on. | [optional]
**RotationPeriod** | Pointer to **string** | Period for automatic credential rotation of the given username. Not valid unless used with \"username\". | [optional]
**RotationPeriod** | Pointer to **string** | Period for automatic credential rotation of the given username. Not valid unless used with \"username\". Mutually exclusive with \"rotation_schedule.\" | [optional]
**RotationSchedule** | Pointer to **string** | Schedule for automatic credential rotation of the given username. Mutually exclusive with \"rotation_period.\" | [optional]
**RotationStatements** | Pointer to **[]string** | Specifies the database statements to be executed to rotate the accounts credentials. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. | [optional]
**RotationWindow** | Pointer to **string** | The window of time in which rotations are allowed to occur starting from a given \"rotation_schedule\". Requires \"rotation_schedule\" to be specified | [optional]
**Username** | Pointer to **string** | Name of the static user account for Vault to manage. Requires \"rotation_period\" to be specified | [optional]


Expand Down
2 changes: 1 addition & 1 deletion docs/MountsEnableSecretsEngineRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**Local** | Pointer to **bool** | Mark the mount as a local mount, which is not replicated and is unaffected by replication. | [optional] [default to false]
**Options** | Pointer to **map[string]interface{}** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PluginName** | Pointer to **string** | Name of the plugin to mount based from the name registered in the plugin catalog. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**SealWrap** | Pointer to **bool** | Whether to turn on seal wrapping for the mount. | [optional] [default to false]
**Type** | Pointer to **string** | The type of the backend. Example: \"passthrough\" | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/MountsReadConfigurationResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**ExternalEntropyAccess** | Pointer to **bool** | | [optional]
**Local** | Pointer to **bool** | Mark the mount as a local mount, which is not replicated and is unaffected by replication. | [optional] [default to false]
**Options** | Pointer to **map[string]interface{}** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**RunningPluginVersion** | Pointer to **string** | | [optional]
**RunningSha256** | Pointer to **string** | | [optional]
**SealWrap** | Pointer to **bool** | Whether to turn on seal wrapping for the mount. | [optional] [default to false]
Expand Down
2 changes: 1 addition & 1 deletion docs/MountsReadTuningInformationResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**MaxLeaseTtl** | Pointer to **int32** | The max lease TTL for this mount. | [optional]
**Options** | Pointer to **map[string]interface{}** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PassthroughRequestHeaders** | Pointer to **[]string** | | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**TokenType** | Pointer to **string** | The type of token to issue (service or batch). | [optional]
**UserLockoutCounterResetDuration** | Pointer to **int64** | | [optional]
**UserLockoutDisable** | Pointer to **bool** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/MountsTuneConfigurationParametersRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**MaxLeaseTtl** | Pointer to **string** | The max lease TTL for this mount. | [optional]
**Options** | Pointer to **map[string]interface{}** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PassthroughRequestHeaders** | Pointer to **[]string** | A list of headers to whitelist and pass from the request to the plugin. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**TokenType** | Pointer to **string** | The type of token to issue (service or batch). | [optional]
**UserLockoutConfig** | Pointer to **map[string]interface{}** | The user lockout configuration to pass into the backend. Should be a json object with string keys and values. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/PkiPatchIssuerResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**KeyId** | Pointer to **string** | Key Id | [optional]
**LeafNotAfterBehavior** | Pointer to **string** | Leaf Not After Behavior | [optional]
**ManualChain** | Pointer to **[]string** | Manual Chain | [optional]
**OcspServers** | Pointer to **[]string** | OSCP Servers | [optional]
**OcspServers** | Pointer to **[]string** | OCSP Servers | [optional]
**RevocationSignatureAlgorithm** | Pointer to **string** | Revocation Signature Alogrithm | [optional]
**RevocationTime** | Pointer to **int32** | | [optional]
**RevocationTimeRfc3339** | Pointer to **string** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/PkiReadIssuerResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**KeyId** | Pointer to **string** | Key Id | [optional]
**LeafNotAfterBehavior** | Pointer to **string** | Leaf Not After Behavior | [optional]
**ManualChain** | Pointer to **[]string** | Manual Chain | [optional]
**OcspServers** | Pointer to **[]string** | OSCP Servers | [optional]
**OcspServers** | Pointer to **[]string** | OCSP Servers | [optional]
**RevocationSignatureAlgorithm** | Pointer to **string** | Revocation Signature Alogrithm | [optional]
**RevocationTime** | Pointer to **int32** | | [optional]
**RevocationTimeRfc3339** | Pointer to **string** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/PkiWriteIssuerResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**KeyId** | Pointer to **string** | Key Id | [optional]
**LeafNotAfterBehavior** | Pointer to **string** | Leaf Not After Behavior | [optional]
**ManualChain** | Pointer to **[]string** | Manual Chain | [optional]
**OcspServers** | Pointer to **[]string** | OSCP Servers | [optional]
**OcspServers** | Pointer to **[]string** | OCSP Servers | [optional]
**RevocationSignatureAlgorithm** | Pointer to **string** | Revocation Signature Alogrithm | [optional]
**RevocationTime** | Pointer to **int32** | | [optional]
**RevocationTimeRfc3339** | Pointer to **string** | | [optional]
Expand Down
5 changes: 3 additions & 2 deletions docs/PluginsCatalogReadPluginConfigurationResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ Name | Type | Description | Notes
**Command** | Pointer to **string** | The command used to start the plugin. The executable defined in this command must exist in vault's plugin directory. | [optional]
**DeprecationStatus** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | The name of the plugin | [optional]
**Sha256** | Pointer to **string** | The SHA256 sum of the executable used in the command field. This should be HEX encoded. | [optional]
**Version** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**OciImage** | Pointer to **string** | The name of the OCI image to be run, without the tag or SHA256. Must already be present on the machine. | [optional]
**Sha256** | Pointer to **string** | The SHA256 sum of the executable or container to be run. This should be HEX encoded. | [optional]
**Version** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]



Expand Down
5 changes: 3 additions & 2 deletions docs/PluginsCatalogReadPluginConfigurationWithTypeResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ Name | Type | Description | Notes
**Command** | Pointer to **string** | The command used to start the plugin. The executable defined in this command must exist in vault's plugin directory. | [optional]
**DeprecationStatus** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | The name of the plugin | [optional]
**Sha256** | Pointer to **string** | The SHA256 sum of the executable used in the command field. This should be HEX encoded. | [optional]
**Version** | Pointer to **string** | The semantic version of the plugin to use. | [optional]
**OciImage** | Pointer to **string** | The name of the OCI image to be run, without the tag or SHA256. Must already be present on the machine. | [optional]
**Sha256** | Pointer to **string** | The SHA256 sum of the executable or container to be run. This should be HEX encoded. | [optional]
**Version** | Pointer to **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]



Expand Down
Loading

0 comments on commit 1bad0b3

Please sign in to comment.