---
title: Charmhub | Deploy WordPress using Charmhub - The Open Operator Collection
description: Deploy the latest version of WordPress as a Kubernetes Operator on any
  cloud.
url: https://charmhub.io/wordpress-k8s/actions
---

# WordPress

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

stable 24deb36c

```
juju deploy wordpress-k8s
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [get-initial-password](https://charmhub.io/wordpress-k8s/actions#get-initial-password)
* [rotate-wordpress-secrets](https://charmhub.io/wordpress-k8s/actions#rotate-wordpress-secrets)
* [update-database](https://charmhub.io/wordpress-k8s/actions#update-database)

[Learn about actions >](https://juju.is/docs/juju/action)

* get-initial-password

  Retrieve auto-generated initial password for accessing WordPress admin account. The password is set once during deployment. If the wordpress-k8s charm is configured with `initial_settings` parameters containing `admin_password`, this action has no effect.
* rotate-wordpress-secrets

  Invalidate user sessions by rotating the following secrets: auth\_key, auth\_salt, logged\_in\_key, logged\_in\_salt, nonce\_key, nonce\_salt, secure\_auth\_key, secure\_auth\_salt. Users will be forced to log in again. This might be useful under security breach circumstances.
* update-database

  After upgrading WordPress to a new version it is typically necessary to run 'wp core update-db' to migrate the database schema. This action does exactly that.

  Params

  + dry-run
    boolean

    Runs the 'wp core update-db --dry-run' command.
