# CreateRepositoryRequest
## Properties
**allow_anonymous_access** | Option<**bool**> | Alias for `is_public`. When set to true, anonymous users can download artifacts from this repository without authentication. Useful for remote (pull-through cache) repositories that proxy public upstream registries. If both `is_public` and `allow_anonymous_access` are provided, `allow_anonymous_access` takes precedence. | [optional]
**description** | Option<**String**> | | [optional]
**format** | **String** | |
**format_key** | Option<**String**> | Custom format key for WASM plugin format handlers (e.g. \"rpm-custom\"). | [optional]
**index_upstream_url** | Option<**String**> | Separate index host for Cargo registries that split index and download across two hosts (e.g. crates.io uses `https://index.crates.io` for the sparse index but `https://crates.io` for tarball downloads). Stored in `repository_config` under the key `index_upstream_url`. | [optional]
**is_public** | Option<**bool**> | | [optional]
**key** | **String** | |
**member_repos** | Option<[**Vec<models::CreateVirtualMemberInput>**](CreateVirtualMemberInput.md)> | Member repositories to add when creating a virtual repository. Each entry specifies a repository key and optional priority. | [optional]
**name** | **String** | |
**promotion_only** | Option<**bool**> | When true, direct user uploads to this repository are rejected: artifacts must arrive via the promotion path. Admin-only to set. Defaults to false (no behavior change for existing repositories). | [optional]
**quota_bytes** | Option<**i64**> | | [optional]
**repo_type** | **String** | |
**storage_backend** | Option<**String**> | Override the default storage backend for this repository. When omitted, the server's configured default is used. Non-admin users may only use the default backend. | [optional]
**upstream_auth_type** | Option<**String**> | Upstream auth type: \"basic\" or \"bearer\". Only valid for remote repos. | [optional]
**upstream_password** | Option<**String**> | Password (basic) or token (bearer). Write-only, never returned in responses. | [optional]
**upstream_url** | Option<**String**> | | [optional]
**upstream_username** | Option<**String**> | Username for basic auth. | [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)