Skip to content

Commit

Permalink
Sync OpenAPI: Miscellaneous changes from Vault 1.15.0-dev (#163)
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 authored Oct 17, 2023
1 parent ea137a2 commit cca03b0
Show file tree
Hide file tree
Showing 51 changed files with 3,309 additions and 103 deletions.
2 changes: 1 addition & 1 deletion docs/AuthEnableMethodRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**Local** | **bool** | Mark the mount as a local mount, which is not replicated and is unaffected by replication. | [optional] [default to false]
**Options** | **Object** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PluginName** | **string** | Name of the auth plugin to use based from the name in the plugin catalog. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**SealWrap** | **bool** | Whether to turn on seal wrapping for the mount. | [optional] [default to false]
**Type** | **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 @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**MaxLeaseTtl** | **string** | The max lease TTL for this mount. | [optional]
**Options** | **Object** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PassthroughRequestHeaders** | **List<string>** | A list of headers to whitelist and pass from the request to the plugin. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**TokenType** | **string** | The type of token to issue (service or batch). | [optional]
**UserLockoutConfig** | **Object** | 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 @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**SecretKey** | **string** | AWS Secret Access Key for the account used to make AWS API requests. | [optional] [default to ""]
**StsEndpoint** | **string** | URL to override the default generated endpoint for making AWS STS API calls. | [optional] [default to ""]
**StsRegion** | **string** | The region ID for the sts_endpoint, if set. | [optional] [default to ""]
**UseStsRegionFromClient** | **bool** | Uses the STS region from client requests for making AWS STS API calls. | [optional] [default to false]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**IamHttpRequestMethod** | **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** | **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** | **string** | Base64-encoded request body when auth_type is iam. This must match the request body included in the signature. | [optional]
**IamRequestHeaders** | **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** | **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 @@ -7,8 +7,10 @@ Name | Type | Description | Notes
**CredentialConfig** | **Object** | The configuration for the given credential_type. | [optional]
**CredentialType** | **string** | The type of credential to manage. Options include: 'password', 'rsa_private_key'. Defaults to 'password'. | [optional] [default to "password"]
**DbName** | **string** | Name of the database this role acts on. | [optional]
**RotationPeriod** | **string** | Period for automatic credential rotation of the given username. Not valid unless used with \"username\". | [optional]
**RotationPeriod** | **string** | Period for automatic credential rotation of the given username. Not valid unless used with \"username\". Mutually exclusive with \"rotation_schedule.\" | [optional]
**RotationSchedule** | **string** | Schedule for automatic credential rotation of the given username. Mutually exclusive with \"rotation_period.\" | [optional]
**RotationStatements** | **List<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** | **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** | **string** | Name of the static user account for Vault to manage. Requires \"rotation_period\" to be specified | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/MountsEnableSecretsEngineRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**Local** | **bool** | Mark the mount as a local mount, which is not replicated and is unaffected by replication. | [optional] [default to false]
**Options** | **Object** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PluginName** | **string** | Name of the plugin to mount based from the name registered in the plugin catalog. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**SealWrap** | **bool** | Whether to turn on seal wrapping for the mount. | [optional] [default to false]
**Type** | **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 @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**ExternalEntropyAccess** | **bool** | | [optional]
**Local** | **bool** | Mark the mount as a local mount, which is not replicated and is unaffected by replication. | [optional] [default to false]
**Options** | **Object** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**RunningPluginVersion** | **string** | | [optional]
**RunningSha256** | **string** | | [optional]
**SealWrap** | **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 @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**MaxLeaseTtl** | **int** | The max lease TTL for this mount. | [optional]
**Options** | **Object** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PassthroughRequestHeaders** | **List<string>** | | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**TokenType** | **string** | The type of token to issue (service or batch). | [optional]
**UserLockoutCounterResetDuration** | **long** | | [optional]
**UserLockoutDisable** | **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 @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**MaxLeaseTtl** | **string** | The max lease TTL for this mount. | [optional]
**Options** | **Object** | The options to pass into the backend. Should be a json object with string keys and values. | [optional]
**PassthroughRequestHeaders** | **List<string>** | A list of headers to whitelist and pass from the request to the plugin. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use. | [optional]
**PluginVersion** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]
**TokenType** | **string** | The type of token to issue (service or batch). | [optional]
**UserLockoutConfig** | **Object** | 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 @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**KeyId** | **string** | Key Id | [optional]
**LeafNotAfterBehavior** | **string** | Leaf Not After Behavior | [optional]
**ManualChain** | **List<string>** | Manual Chain | [optional]
**OcspServers** | **List<string>** | OSCP Servers | [optional]
**OcspServers** | **List<string>** | OCSP Servers | [optional]
**RevocationSignatureAlgorithm** | **string** | Revocation Signature Alogrithm | [optional]
**RevocationTime** | **int** | | [optional]
**RevocationTimeRfc3339** | **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 @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**KeyId** | **string** | Key Id | [optional]
**LeafNotAfterBehavior** | **string** | Leaf Not After Behavior | [optional]
**ManualChain** | **List<string>** | Manual Chain | [optional]
**OcspServers** | **List<string>** | OSCP Servers | [optional]
**OcspServers** | **List<string>** | OCSP Servers | [optional]
**RevocationSignatureAlgorithm** | **string** | Revocation Signature Alogrithm | [optional]
**RevocationTime** | **int** | | [optional]
**RevocationTimeRfc3339** | **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 @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**KeyId** | **string** | Key Id | [optional]
**LeafNotAfterBehavior** | **string** | Leaf Not After Behavior | [optional]
**ManualChain** | **List<string>** | Manual Chain | [optional]
**OcspServers** | **List<string>** | OSCP Servers | [optional]
**OcspServers** | **List<string>** | OCSP Servers | [optional]
**RevocationSignatureAlgorithm** | **string** | Revocation Signature Alogrithm | [optional]
**RevocationTime** | **int** | | [optional]
**RevocationTimeRfc3339** | **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 @@ -9,8 +9,9 @@ Name | Type | Description | Notes
**Command** | **string** | The command used to start the plugin. The executable defined in this command must exist in vault's plugin directory. | [optional]
**DeprecationStatus** | **string** | | [optional]
**Name** | **string** | The name of the plugin | [optional]
**Sha256** | **string** | The SHA256 sum of the executable used in the command field. This should be HEX encoded. | [optional]
**_Version** | **string** | The semantic version of the plugin to use. | [optional]
**OciImage** | **string** | The name of the OCI image to be run, without the tag or SHA256. Must already be present on the machine. | [optional]
**Sha256** | **string** | The SHA256 sum of the executable or container to be run. This should be HEX encoded. | [optional]
**_Version** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

5 changes: 3 additions & 2 deletions docs/PluginsCatalogRegisterPluginRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Name | Type | Description | Notes
**Args** | **List<string>** | The args passed to plugin command. | [optional]
**Command** | **string** | The command used to start the plugin. The executable defined in this command must exist in vault's plugin directory. | [optional]
**Env** | **List<string>** | The environment variables passed to plugin command. Each entry is of the form \"key=value\". | [optional]
**Sha256** | **string** | The SHA256 sum of the executable used in the command field. This should be HEX encoded. | [optional]
**_Version** | **string** | The semantic version of the plugin to use. | [optional]
**OciImage** | **string** | The name of the OCI image to be run, without the tag or SHA256. Must already be present on the machine. | [optional]
**Sha256** | **string** | The SHA256 sum of the executable or container to be run. This should be HEX encoded. | [optional]
**_Version** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

5 changes: 3 additions & 2 deletions docs/PluginsCatalogRegisterPluginWithTypeRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Name | Type | Description | Notes
**Args** | **List<string>** | The args passed to plugin command. | [optional]
**Command** | **string** | The command used to start the plugin. The executable defined in this command must exist in vault's plugin directory. | [optional]
**Env** | **List<string>** | The environment variables passed to plugin command. Each entry is of the form \"key=value\". | [optional]
**Sha256** | **string** | The SHA256 sum of the executable used in the command field. This should be HEX encoded. | [optional]
**_Version** | **string** | The semantic version of the plugin to use. | [optional]
**OciImage** | **string** | The name of the OCI image to be run, without the tag or SHA256. Must already be present on the machine. | [optional]
**Sha256** | **string** | The SHA256 sum of the executable or container to be run. This should be HEX encoded. | [optional]
**_Version** | **string** | The semantic version of the plugin to use, or image tag if oci_image is provided. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

10 changes: 10 additions & 0 deletions docs/PluginsRuntimesCatalogListPluginsRuntimesResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Vault.Model.PluginsRuntimesCatalogListPluginsRuntimesResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Runtimes** | **List<Object>** | List of all plugin runtimes in the catalog | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Vault.Model.PluginsRuntimesCatalogReadPluginRuntimeConfigurationResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CgroupParent** | **string** | Optional parent cgroup for the container | [optional]
**CpuNanos** | **long** | The limit of runtime CPU in nanos | [optional]
**MemoryBytes** | **long** | The limit of runtime memory in bytes | [optional]
**Name** | **string** | The name of the plugin runtime | [optional]
**OciRuntime** | **string** | The OCI-compatible runtime (default \"runsc\") | [optional]
**Type** | **string** | The type of the plugin runtime | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

13 changes: 13 additions & 0 deletions docs/PluginsRuntimesCatalogRegisterPluginRuntimeRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Vault.Model.PluginsRuntimesCatalogRegisterPluginRuntimeRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CgroupParent** | **string** | Optional parent cgroup for the container | [optional]
**CpuNanos** | **long** | The limit of runtime CPU in nanos | [optional]
**MemoryBytes** | **long** | The limit of runtime memory in bytes | [optional]
**OciRuntime** | **string** | The OCI-compatible runtime (default \"runsc\") | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions docs/RateLimitQuotasReadResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BlockInterval** | **int** | | [optional]
**Inheritable** | **bool** | | [optional]
**Interval** | **int** | | [optional]
**Name** | **string** | | [optional]
**Path** | **string** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/RateLimitQuotasWriteRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BlockInterval** | **string** | If set, when a client reaches a rate limit threshold, the client will be prohibited from any further requests until after the 'block_interval' has elapsed. | [optional]
**Inheritable** | **bool** | Whether all child namespaces can inherit this namespace quota. | [optional]
**Interval** | **string** | The duration to enforce rate limiting for (default '1s'). | [optional]
**Path** | **string** | Path of the mount or namespace to apply the quota. A blank path configures a global quota. For example namespace1/ adds a quota to a full namespace, namespace1/auth/userpass adds a quota to userpass in namespace1. | [optional]
**Rate** | **float** | The maximum number of requests in a given interval to be allowed by the quota rule. The 'rate' must be positive. | [optional]
Expand Down
Loading

0 comments on commit cca03b0

Please sign in to comment.