def METHOD_NAME(cluster, args):
    command.debug("Getting velero cloud credentials from cluster '%s'", cluster)
    cloud = kubectl.get(
        "secret/cloud-credentials",
        "--namespace=velero",
        "--output=jsonpath={.data.cloud}",
        context=cluster,
    )
    template = drenv.template(command.resource("cloud-credentials-secret.yaml"))
    return template.substitute(cloud=cloud, namespace=args.ramen_namespace)