mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-11-05 02:18:12 +00:00
2 KiB
2 KiB
page_title | subcategory | description |
---|---|---|
gitea_user Resource - terraform-provider-gitea | gitea_user manages a native gitea user. If you are using OIDC or other kinds of authentication mechanisms you can still try to managessh keys or other ressources this way |
gitea_user (Resource)
gitea_user
manages a native gitea user.
If you are using OIDC or other kinds of authentication mechanisms you can still try to managessh keys or other ressources this way
Example Usage
resource "gitea_user" "test" {
username = "test"
login_name = "test"
password = "Geheim1!"
email = "test@user.dev"
must_change_password = false
}
Schema
Required
email
(String) E-Mail Address of the userlogin_name
(String) The login name can differ from the usernamepassword
(String, Sensitive) Password to be set for the userusername
(String) Username of the user to be created
Optional
active
(Boolean) Flag if this user should be active or notadmin
(Boolean) Flag if this user should be an administrator or notallow_create_organization
(Boolean)allow_git_hook
(Boolean)allow_import_local
(Boolean)description
(String) A description of the userforce_password_change
(Boolean) Flag if the user defined password should be overwritten or notfull_name
(String) Full name of the userlocation
(String)max_repo_creation
(Number)must_change_password
(Boolean) Flag if the user should change the password after first loginprohibit_login
(Boolean) Flag if the user should not be allowed to log in (bot user)restricted
(Boolean)send_notification
(Boolean) Flag to send a notification about the user creation to the definedemail
visibility
(String) Visibility of the user. Can bepublic
,limited
orprivate
Read-Only
id
(String) The ID of this resource.