OpenBao dynamic credentials for MySQL and MariaDB

OpenBao can issue a separate, time-limited MySQL or MariaDB user for each application or request, with revocation handled by leases. This page covers the plugin variant choice, creation statements, static roles and failover connection URLs.

On this page

Why teams issue per-request MySQL and MariaDB users with OpenBao

Many teams still connect applications to MySQL and MariaDB with one shared database password kept in a configuration file, a Kubernetes secret or a CI variable. That password rarely changes, cannot be traced to a single service instance, and stays valid long after the person or pipeline that used it has gone. OpenBao's database secrets engine addresses this by creating a database user for each lease when a client asks for credentials, then revoking that user when the lease ends. The application never holds a long-lived password, and the database account exists only for the period the workload needs it.

The OpenBao documentation describes dynamic secrets for SQL databases as one of its core capabilities, alongside key/value storage, encryption as a service and other engines. Two lifecycle features matter most for an operator. Leasing with automatic revocation means every generated credential carries a time-to-live, and OpenBao removes the database user when that lease expires or is revoked. Bulk revocation lets an operator revoke every lease under a path in one action, which is the control a security team reaches for after a suspected exposure or a departing team. Both behaviors depend on how the MySQL or MariaDB plugin and its creation statements are configured, so the reader should test revocation in a non-production database before relying on it.

This pattern is most useful to platform engineering teams that run shared database servers for many applications, to security teams that must show who held database access and for how long, and to compliance teams that need evidence of least-privilege access and timely removal. Before committing, confirm with your database administrators which MySQL or MariaDB version and authentication plugin your servers use, whether your applications' drivers can connect with generated users, and how your audit logs will record the OpenBao-generated username. The OpenBao documentation on what OpenBao is gives the overview of these capabilities.

How the MySQL and MariaDB secrets engine works

The engine connects five working parts: a privileged connection, roles that define each generated user, leases that govern how long each user lives, optional rotation of the privileged password, and static roles for accounts that cannot change. Read them in this order before you decide which team owns each setting and which settings need testing in your own environment.

Privileged connection account

The database connection stores the privileged account OpenBao uses to create and drop users. It needs enough rights to create users, grant privileges and revoke them, and no more. Keep it separate from application accounts and from people's logins, and limit who can read the connection configuration in OpenBao. Match the plugin variant to the MySQL or MariaDB client driver your tools use, because the variants differ in how they handle authentication. Confirm the exact privileges required against the plugin documentation for your version.

OpenBao overview

Roles and creation statements

A role maps a name to the creation statements OpenBao runs each time it issues a user. These statements set the username and password, the account host and the grants, so a role for a reporting service can grant read access to only the tables that service needs. Revocation statements run when a lease ends and must remove the user cleanly, including any objects the user owns. Test each statement on a non-production database first, because a faulty grant either fails every request or grants too much. Keep the statements in version control and review them like code.

Leases, TTL and max TTL

Every generated user carries a lease. The TTL sets how long the credential stays valid before the lease expires, and the max TTL caps the total time a single lease can be renewed, after which the user must be requested again. When a lease expires or is revoked, OpenBao runs the revocation statements, so stale accounts do not accumulate in the database. Choose TTLs with application reconnect behavior in mind, since a service that holds one connection for a long time needs a lease that outlasts it or a renewal path. Bulk revocation can end many leases at once after an incident.

Leasing and revocation

Root credential rotation

Root credential rotation changes the privileged account's password so that only OpenBao holds the current value. This removes a standing copy of the password from administrator notes and configuration files. Treat it as an option to confirm before you rely on it: check that your MySQL or MariaDB version, plugin variant and account grants support it, and test it on a non-production server first. Schedule the rotation with your database team, because a failed rotation can stop OpenBao from creating users until the connection is repaired. Record who may trigger rotation.

Static roles for existing accounts

Some applications cannot accept a new user on every request. A static role maps OpenBao to an existing database account and rotates that account's password on a fixed schedule, so the application reads a value that changes while the account itself stays the same. Settle three decisions first: the rotation period, the people and services allowed to read the current password, and whether your MySQL or MariaDB plugin variant supports static roles. Confirm the behavior of static roles in your version before you design applications around them.

Which plugin variant and role type fits your MySQL setup

This table compares the MySQL and MariaDB plugin variants, role types and connection URL forms for OpenBao dynamic credentials. Read each row against your database platform, driver, server version and how long each credential must live. The main takeaway is that the plugin variant, role type and URL form follow from your driver and server setup, so confirm those first.

OptionWhen it fitsWhat to confirm
Standard MySQL or MariaDB plugin variantSelf-managed MySQL or MariaDB servers that clients reach directly with a standard driverConfirm in the OpenBao docs for your release that the variant matches your driver and server version
Cloud-managed MySQL plugin variantDatabases run on a managed cloud service with its own authentication or IAM modelConfirm with the provider which authentication method the managed service requires and whether the variant supports it
Older driver or legacy server variantOlder client libraries or servers that the standard variant does not handleConfirm with the vendor which driver and server versions are supported, and test the variant before relying on it
Dynamic roleEach application instance, batch job or CI run needs its own short-lived database user that expires with its leaseConfirm the creation statements your DBA allows and test that the user is removed when the lease expires
Static roleA legacy application needs a fixed, existing database account whose password OpenBao rotates on a scheduleConfirm the account exists, the rotation period and who can read the current password
Single-host connection URLOne database endpoint with no replica set, proxy or failover targetConfirm host, port, TLS mode and the account used to create and revoke users with your DBA
Multi-host failover connection URL (added in 2.6)The database sits behind a cluster with several hosts that can take over during failoverConfirm you run OpenBao 2.6 or later and that your driver tries the listed hosts the same way your cluster expects

Writing creation statements that grant least privilege

The creation statement is where the privileges of every generated user are actually decided, so it deserves more review time than the connection settings. OpenBao runs the statements you define in the database role each time a lease is issued, substituting the generated username and password. Whatever those statements grant is what the application, and anyone who obtains its lease, can do until the lease expires. A statement that grants ALL PRIVILEGES ON *.* makes every generated user a near-administrator, which defeats the purpose of issuing short-lived credentials in the first place. Scope grants to the specific schema and, where practical, the specific tables and operations the service uses, such as SELECT, INSERT, UPDATE on named tables in one database.

Broad grants are easier to operate. A single role covers many services, new tables work without a change to OpenBao, and migrations rarely fail on missing privileges. Narrow grants shrink the blast radius of a leaked credential and make audit logs easier to interpret, but they require one role per service or access pattern, and they break when schemas change. Decide which trade-off applies per database and write it down. Plan for schema migrations explicitly, since a grant on a table that is later dropped and recreated may need to be reissued. Ask whether your application needs DDL privileges at runtime at all; most do not, and migrations are often better run under a separate, tightly controlled identity.

Statement syntax is version-specific and must be checked before rollout. Confirm the exact GRANT and user-creation syntax against the MySQL or MariaDB version you run, because account and privilege handling has changed across releases, and against the MySQL database plugin documentation in OpenBao for the placeholders and statement format it expects. Test each statement against a non-production instance, then confirm that a generated user can perform exactly the intended operations and nothing else, including a check that revocation removes the account when the lease ends.

Setting up dynamic MySQL or MariaDB credentials step by step

This sequence takes a MySQL or MariaDB server from no OpenBao integration to a role that issues a unique, time-limited database user for each request and removes that user when the lease ends. Each step closes with a check you can run from the command line or a database client before you move on.

  1. Enable the database secrets engine

    Run bao secrets enable database against the cluster, using a path such as database/ unless your team has a naming standard. An operator with the policy to mount secrets engines should do this, and the engine should be mounted in the namespace that owns the database. Confirm the mount with bao secrets list and check that the database path appears with the database type. Do not continue until the path is listed, because later steps write to it.

  2. Create a privileged OpenBao account in the database

    A database administrator creates one dedicated account on the MySQL or MariaDB server that OpenBao uses to connect and manage users. This account needs permission to create users and to grant and revoke the privileges your roles will hand out, and it should not be a shared administrator login. Sign in as the new account and run SHOW GRANTS; to confirm it has the rights listed in the plugin documentation for your version. Record the account in your secrets inventory, because its password moves into OpenBao in the next step.

  3. Configure the connection with the matching plugin

    Choose the plugin variant that matches the MySQL driver your server and tooling use. Then write the connection to database/config/<name> with plugin_name, a connection_url template that OpenBao fills with the account from the previous step, and allowed_roles. Confirm the plugin name and driver pairing in the current OpenBao database plugin documentation before you write, because variant names can differ between versions. A config write that returns without error shows that OpenBao reached the server with that account. Read the config back with bao read database/config/<name> and confirm the password is masked.

  4. Define a role with creation and revocation statements

    Write a role with bao write database/roles/<name>, setting db_name to the connection from the previous step. Add creation_statements that create the user with only the privileges the workload needs, default_ttl and max_ttl for lease length, and revocation_statements that drop the user. Use the username and password placeholders the plugin documents, so each request receives its own account. Verify with bao read database/roles/<name> that the statements and TTLs match what you intended. If you have a non-production copy of the database, run the statements there first.

  5. Issue a test credential and log in

    Request a credential with bao read database/creds/<name>. The output includes a username, a password, a lease_id and a lease duration, so record the lease ID for later revocation. Connect with a MySQL client using those values and run SELECT CURRENT_USER();, which should return the generated username. Check SHOW GRANTS; as the new user to confirm the session holds only the privileges the role grants. If login fails, review the host part of the generated account, because the user is only usable from hosts that the creation statements allow.

  6. Confirm the user appears in the server user list

    While the lease is active, run SELECT User, Host FROM mysql.user; as the OpenBao administrator account or another account with read access to the user table. The generated username should appear with the host that the creation statements specify. Write the username and lease ID together in your change or audit notes so that a database user can be traced back to one request. The lease in OpenBao is the authoritative record of that access, so use the server list to confirm state, not as the source of record.

  7. Revoke the lease and confirm removal

    Revoke the test lease with bao lease revoke <lease_id>, which runs the revocation statements and drops the user. Confirm three things: the revoke command returns success, the username no longer appears in mysql.user, and a new login with the test credentials fails. Then test expiry by issuing a short-lived credential and letting its TTL run out, because most workloads will rely on expiry to clean up. Confirm the user is removed in the same way.

When static roles fit better than dynamic users

Should I use a static role or dynamic users for MySQL?

Use a static role when your application cannot accept a new database username for each request and you need to rotate the password of an account that already exists. A static role maps one OpenBao role to one existing MySQL or MariaDB account, and OpenBao changes that account's password on a schedule. Dynamic users fit better when your application can request credentials at startup, use them for a lease, and let OpenBao revoke them when the lease ends. Static roles keep the account name, grants and references in other systems stable, which matters for legacy connection pools, reporting tools and audit rules keyed to a fixed username. Expect to change how the application reads its secret either way, because the password still has to be fetched and reloaded.

How often does OpenBao rotate a static role password?

The rotation period is a setting you choose on the static role, and it should match how often your policy and database team allow password changes. Confirm the rotation period parameter and its behavior in the OpenBao documentation for your version before you design around it. A short period increases rotation traffic and widens the window in which some consumers may still hold an old password. A long period weakens the control you are trying to get from rotation. The period must also be longer than the time your slowest consumer needs to fetch and reload the new password, or applications will fail between changes. Test the full cycle in staging before you pick a value for production.

Who can read the current password of a static role?

Any token whose policy grants read on the static role's credential path can read the current password, so access control depends entirely on OpenBao policies. Grant that read only to the workload identity that connects to the database, such as an AppRole or Kubernetes auth role. Give human administrators rules that can configure or rotate the role without reading the value. Review who can read the database connection and root configuration paths as well, because a policy that reaches those can expose the account that performs rotation. Audit logging can show which identities read the password, which helps when you need to answer an access question. Test each policy with a token that holds only the intended rights and confirm the capabilities your version exposes.

Which MySQL and MariaDB plugin variants support static roles?

Confirm this for each plugin variant before you design, because support should not be assumed from the database engine name. The MySQL plugin variants differ in the driver they use and in how they handle authentication, and static role and root credential rotation behavior can differ between them. For your OpenBao version, check whether the variant you need supports static roles, whether it supports the root credential rotation you plan to use, and how it handles the MariaDB authentication plugins your servers use. Test the chosen variant against a non-production MySQL or MariaDB instance that matches your server version and authentication settings. Record the result in the design so the choice can be reviewed later.

What database account does OpenBao need to rotate passwords?

OpenBao needs a database account that can set passwords on the accounts it manages, so that account is privileged and must be protected like any other administrator. Grant it only the privileges that the plugin's documented statements require. Rotate that root credential through OpenBao so that no person holds its password. Static roles map to accounts that already exist, so create the target accounts first and map each static role to one of them. Plan for locked or expired accounts, for MySQL and MariaDB password policy rules that could reject a generated password, and for connection pools that must reload after every change. Run a full rotation end to end before application cutover, including the case where a pool still holds the old password.

How do I move an application from a static role to dynamic users?

Moving later is mostly an application change, so plan it as a release with its own test and rollback steps. Keep the static role running during the transition. Change the application to request dynamic credentials for new connections, and let old pools drain as they cycle out. Dynamic users produce a new username per lease, so monitoring, grants and audit queries that depend on one fixed username need updating before cutover. Remove the static role only after no consumer reads it. Confirm lease creation and revocation behavior in a staging environment first, including what happens to open connections when a lease expires.

Security considerations for OpenBao-managed MySQL access

Dynamic credentials move risk from long-lived database passwords to the OpenBao cluster and the policies that control it. The cards below cover the components that carry that risk: the connection account OpenBao uses, the policies that decide who gets credentials, the audit trail, the network path and the TLS settings on the database connection.

Protect the privileged connection account

OpenBao connects to MySQL or MariaDB with a privileged account that creates and drops users. Anyone who holds that account's password can issue or revoke any database user, so it is the highest-value credential in the design. Create it with only the grants your chosen creation statements need, keep its password out of configuration files, and plan rotation of its root credential through OpenBao. Confirm the exact grants with the plugin documentation for your MySQL or MariaDB version before you finalize them.

HA docs

Restrict who can request credentials

Each database role path is governed by OpenBao policies, and a token that can read the path can request a live database user. Grant the read capability on each role path only to the workloads or identities that need it, and keep administrative capabilities such as role creation separate from credential retrieval. Review policies with the teams that own each application, since an overly broad policy turns any authenticated client into a database user issuer.

Audit every credential issuance

Enable an audit device so that each credential request, lease creation and revocation is recorded. Dynamic users have short lifetimes, so the audit log is often the only record that ties a database username to a requesting identity and time. Decide where logs are shipped, who can read them, and how long they are kept, and test that a sample issuance appears in the log before go-live. Confirm retention requirements with your compliance team.

Keep OpenBao to database network paths

Limit the network path between OpenBao and the MySQL or MariaDB servers to the ports and source addresses the plugin needs. Application traffic to the database should not need to pass through OpenBao, and clients should reach the database only through their own approved paths. Document the firewall rules, the source addresses OpenBao uses and any load balancer or proxy in front of the database, because a failover endpoint that is not in the rules is a common cause of outages during database switchovers.

Encrypt the database connection with TLS

Dynamic usernames and passwords travel over the connection between the workload and MySQL or MariaDB, and the privileged connection carries the account that creates them. Enable TLS on both paths, require it for the accounts involved, and confirm which CA certificate OpenBao trusts when it connects. Verify the configuration by testing a connection with certificate validation turned on, and record the exact settings your MySQL or MariaDB version requires.

Connecting through multi-host failover URLs in OpenBao 2.6

OpenBao 2.6 added multi-host failover connection URLs to the MySQL and MariaDB database plugin, so the plugin can reach a replicated topology without depending on a single host name. The reason this matters is that a primary-replica or clustered MySQL or MariaDB deployment changes which node accepts writes after a failover. A connection string that names only one host will keep trying that host after it is demoted, read-only, or unreachable, and every dynamic user creation or revocation will fail with it. Before you change anything, list every host that can become the writable primary in your topology and confirm which of them your privileged account can reach.

The change affects two things: the privileged connection that OpenBao uses to create and revoke users, and the generated users themselves. The privileged connection is the one stored in the plugin's connection configuration, so the connection URL with its host list is where failover behavior is set. Generated users are created on whichever node is writable at the time of the request, but they only exist on nodes that replicate the account. Confirm with your database team that user creation and grants replicate to every node that may be promoted, and that revocation statements behave the same way after a switch. Otherwise a lease can be revoked on one node while the account still exists on another.

Confirm the exact connection URL format, the host list syntax, and how the plugin chooses among hosts and retries in the plugin documentation for your release, and do not assume the format matches other MySQL drivers. Then test it in a non-production cluster: stop the current primary, request a new dynamic credential, revoke the lease, and check the result on each node. Record how long the plugin takes to reconnect and whether any statement is retried. Those results decide whether your runbook needs a manual step during a failover.

How a request for a MySQL user moves through OpenBao

The application authenticates to OpenBao, then asks for credentials on a database role. OpenBao runs the role's creation statements against MySQL or MariaDB, returns the new user with a lease, and revokes that user when the lease expires. The trust boundary sits between OpenBao and the database network, so confirm which side holds the root database account and which network paths OpenBao is allowed to open.

Dynamic MySQL user lifecycle from login through automatic revocation.

Limits to confirm before you commit to dynamic database users

Dynamic MySQL and MariaDB users change how applications connect, pool connections and renew leases, so the limits that matter sit in your own environment. The cards below list what to verify with OpenBao, your database vendor and your application teams before you commit to per-request users.

Supported MySQL and MariaDB versions per plugin

Each database plugin variant supports a specific set of MySQL and MariaDB server versions, and the variants are not interchangeable across both engines. Confirm the exact server versions you run, including any managed service versions, against the plugin documentation for the variant you plan to use. Ask the vendor to name the version you will run in production before you pick a variant.

Storage docs

Driver compatibility with your application stack

Each plugin variant expects a particular MySQL driver and authentication behavior, and application runtimes often bundle older or different drivers. Test every language runtime and connector in your stack against a dynamically created user, including the authentication plugin your database uses. A driver that fails only on a new user's first login is easy to miss in staging.

Connection pool behavior with short-lived users

Connection pools keep sessions open after a credential is issued, so a lease that expires can leave pooled connections authenticated under a user that no longer exists. Check how your pool handles failed reconnects, how long it keeps idle connections and whether it can re-read credentials without a restart. Confirm this behavior with the pool library maintainers and load test it.

Lease renewal under load

Every dynamic user is tied to a lease, and renewal traffic grows with the number of running instances and their TTLs. Measure how many renewal calls your largest deployment makes at peak, how OpenBao handles them, and what happens when renewals fail during a network interruption. Confirm the lease behavior for your OpenBao version with the project documentation before setting TTLs.

Static roles and rotation limits

Static roles map to an existing database account and rotate its password on a schedule rather than creating new users. Confirm that your MySQL or MariaDB variant supports static roles, who can read the current password and how rotation interacts with long-running clients that hold the old password. Ask your team which accounts cannot be rotated without downtime.

The OpenBao version you run

Plugin behavior, failover support and lease handling change between OpenBao releases, so the version in your environment determines which settings are valid. Record your exact OpenBao version and the release notes that apply to it, then check the multi-host failover connection URL behavior added in 2.6 against that version. Plan an upgrade test whenever the OpenBao minor version changes.

OpenBao releases

What dynamic MySQL credentials cost to set up and who does the work

What drives the cost of dynamic MySQL credentials setup?

Effort is driven mainly by how many applications need database access, how many MySQL or MariaDB clusters they use, and how many client drivers and connection styles those applications run. Each application needs its own role, creation statements, lease settings and a connection change, so a few services using one driver is a very different job from dozens of services across several database topologies. Application changes are often the largest item, because an application that expects a fixed username and password must request credentials from OpenBao and handle renewal. Ask for the written scope to break the work down by application, driver and database cluster so each line can be checked.

Is setup a one-time cost or an ongoing cost?

Initial setup is one-time work: configuring the database secrets engine, creating the database connection, writing roles and creation statements, testing lease expiry and revocation, and changing applications to request credentials. Recurring costs come from running the platform, including OpenBao upgrades, monitoring the database connection, reviewing roles as applications change, and keeping the OpenBao cluster patched. Upgrade work recurs on whatever schedule your team sets. Ask the quote to separate these two groups so you can see which costs repeat and who owns each one after handover. DeployOpen offers retainers for ongoing support and upgrades, and the written scope should state exactly what a retainer covers.

Can an internal database team set this up without a partner?

Yes, a team with OpenBao operations experience and MySQL administration skills can do the work alone, and most of it is configuration and application change. The harder part is usually coordination. Someone must own the OpenBao cluster, a database administrator must create the privileged account OpenBao uses to create users, and each application team must change how it connects. Teams new to OpenBao often underestimate the time needed to test lease expiry and revocation under load. A partner is worth considering when the team lacks capacity, when many applications need changes at once, or when auditors expect written evidence. Decide based on who has time, and request a written scope before work starts.

What does the database team need to provide?

The database team provides access and decisions. Typically that means a dedicated administrative account that OpenBao uses to create and drop users, the privileges that account needs, network paths from the OpenBao nodes to each MySQL or MariaDB endpoint, and TLS settings for those connections. They also decide which grants each role receives, which schemas and tables are in scope, and how long credentials should live. Plan time for them to review the creation statements, because a mistake there can grant more privilege than intended. Confirm the required account privileges and connection settings against the documentation for your MySQL or MariaDB version, since account-management syntax differs between them.

How long does dynamic MySQL credential setup take?

Duration depends on scope, and no single figure applies to every environment. The main variables are the number of database clusters, the number of applications and roles, how many applications need code or configuration changes, and how much testing your change process requires. One cluster with one application using a standard driver is a short, contained job. Many applications across several topologies, each needing a deployment change and review, takes longer and usually runs in phases. Ask for a timeline in the written scope that lists phases, dependencies on the database and application teams, and the acceptance tests. Treat any single duration offered without that breakdown as unverified.

Which costs come from the driver mix and multi-host connections?

Driver mix adds effort because each MySQL client library reads connection settings differently, and the OpenBao plugin variant must match the driver each application uses. Applications that connect to a primary and replicas, or that use multi-host failover connection URLs, need the connection string worked out and tested against each topology. Every extra driver or connection pattern adds test cases and possibly a plugin decision. Ask the written scope to list each driver and connection method in use, the plugin variant chosen for each, and the failover tests planned. Confirm the variant and connection syntax in the OpenBao documentation for the version you deploy, because these details change between releases.

Which cost items should appear in a written quote?

A useful quote lists each deliverable, the environments covered, the number of applications and database clusters in scope, and the testing and handover included. It should separate platform setup, database role design, application changes, documentation, training and post-handover support. Ask what is excluded, such as application code changes owned by your teams, changes to the database server itself, or out-of-hours cutover. Ask who holds the administrative credentials during the build, how they are rotated afterward, and what happens if scope grows. DeployOpen works from a written scope agreed before work starts and does not publish a price list, so the quote follows from that document.

How DeployOpen scopes and delivers MySQL and MariaDB credentials on OpenBao

DeployOpen scopes MySQL and MariaDB credential work as a fixed-scope engagement with deliverables and timelines agreed in writing before any build starts. For this topic, the written scope should name the database engines and versions in use, which MySQL or MariaDB plugin variant each cluster needs (the variants differ by driver and must match the client's client libraries), the creation and revocation statements that will be approved by the database team, whether static roles are needed for systems that cannot accept dynamic users, and the failover connection URL design for each cluster. Deployment happens inside the client's own cloud accounts, data centers or air-gapped networks, so the database credentials, the OpenBao root material and the audit logs never leave their control.

Testing is where most of the value is confirmed. DeployOpen plans verification of issuance (that each role creates a user with the intended grants and expiry), revocation (that lease expiry and manual revocation remove the user and its sessions), and failover (that a client reconnects through the multi-host URL when the primary database node is removed). The results are documented as evidence that the security and compliance teams can review, including the configuration, role definitions, test records and the operating runbook for lease handling and plugin upgrades. Clients should ask for this evidence format in the quote, and confirm with their own auditors which artifacts they need. DeployOpen prepares that evidence but does not issue audit reports or attestations.

After handover, ongoing work such as plugin version checks, upgrade testing against new OpenBao releases, periodic revocation and failover retests, and changes to roles can be covered by a retainer. Cost components to compare in any quote are the initial scoping and build, the testing and documentation, and the recurring support, each of which should be priced separately so the client can see what is one-time and what recurs. Clients running their own teams should confirm internally who will own role changes and lease incidents before work starts, because that decision shapes the scope more than the number of databases does.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.