def METHOD_NAME(self, role: str, md: Metadata) -> None:
    """Store a version of metadata. Handle version bumps, expiry, signing"""
    md.signed.version += 1
    md.signed.expires = datetime.utcnow() + self.expiry_period
    with open(f"{self.key_dir}/{role}", "rt", encoding="utf-8") as f:
        signer = SSlibSigner(json.loads(f.read()))
    md.sign(signer, append=False)
    # Upload using "api/role"
    uri = f"{self.base_url}/api/role/{role}"
    r = requests.post(uri, data=md.to_bytes(JSONSerializer()), timeout=5)
    r.raise_for_status()